summaryrefslogtreecommitdiffstats
path: root/depends/rainbow/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-08-21 07:40:39 +0200
committerPetr Mrázek <peterix@gmail.com>2015-08-21 07:40:39 +0200
commit875c707358b5c289fa70dbcd467a3dcf9c2ab302 (patch)
tree32a7e9e30adf064059b12d8942563c41abea9d61 /depends/rainbow/CMakeLists.txt
parente5f7676622e6186386335e676940a16903fb8242 (diff)
downloadMultiMC-875c707358b5c289fa70dbcd467a3dcf9c2ab302.tar
MultiMC-875c707358b5c289fa70dbcd467a3dcf9c2ab302.tar.gz
MultiMC-875c707358b5c289fa70dbcd467a3dcf9c2ab302.tar.lz
MultiMC-875c707358b5c289fa70dbcd467a3dcf9c2ab302.tar.xz
MultiMC-875c707358b5c289fa70dbcd467a3dcf9c2ab302.zip
NOISSUE fix librainbow some more
Diffstat (limited to 'depends/rainbow/CMakeLists.txt')
-rw-r--r--depends/rainbow/CMakeLists.txt5
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)