mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 18:14:22 +00:00
NOISSUE fix librainbow some more
This commit is contained in:
parent
e5f7676622
commit
875c707358
@ -107,7 +107,7 @@ elseif(WIN32)
|
||||
endif()
|
||||
|
||||
# directories to look for dependencies
|
||||
set(DIRS ${QT_LIBS_DIR} ${QT_LIBEXECS_DIR})
|
||||
set(DIRS ${QT_LIBS_DIR} ${QT_LIBEXECS_DIR} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
|
||||
################################ FILES ################################
|
||||
|
||||
|
@ -13,9 +13,8 @@ include/rainbow.h
|
||||
src/rainbow.cpp
|
||||
)
|
||||
|
||||
#add_definitions(-DRAINBOW_LIBRARY)
|
||||
add_definitions(-DRAINBOW_STATIC)
|
||||
add_definitions(-DRAINBOW_LIBRARY)
|
||||
set(RAINBOW_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include" PARENT_SCOPE)
|
||||
add_library(rainbow STATIC ${RAINBOW_SOURCES})
|
||||
add_library(rainbow SHARED ${RAINBOW_SOURCES})
|
||||
|
||||
qt5_use_modules(rainbow Core Gui)
|
||||
|
Loading…
Reference in New Issue
Block a user