summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4732766c1..7ee549631 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,13 @@ include(CMakeScripts/ConfigPaths.cmake)
# -----------------------------------------------------------------------------
# CMake Configuration
# -----------------------------------------------------------------------------
+#Sometimes we need to force refresh resources update putting one new file reconfigure CMake
+#https://cmake.org/pipermail/cmake/2010-November/041072.html
+SET_SOURCE_FILES_PROPERTIES(
+ main.cpp PROPERTIES OBJECT_DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/share/symbols/search.svg
+)
+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeScripts/Modules")
# avoid having empty buildtype