summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/CMakeLists.txt2
-rw-r--r--depends/rainbow/CMakeLists.txt5
2 files changed, 3 insertions, 4 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt
index 90bb0c04..99ee7f46 100644
--- a/application/CMakeLists.txt
+++ b/application/CMakeLists.txt
@@ -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 ################################
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)