diff options
Diffstat (limited to 'depends')
-rw-r--r-- | depends/rainbow/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/depends/rainbow/CMakeLists.txt b/depends/rainbow/CMakeLists.txt index 74c593ff..6eeb2adc 100644 --- a/depends/rainbow/CMakeLists.txt +++ b/depends/rainbow/CMakeLists.txt @@ -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) |