Permalink
Browse files

Fixed dependency order for installer

  • Loading branch information...
1 parent 17d00e2 commit 3e1d0ab627aa4225609884649239dd30b386717f @mickem committed Dec 14, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 CMakeLists.txt
View
@@ -569,7 +569,6 @@ ADD_SUBDIRECTORY("files")
LOAD_SECTIONS(ALL_MODULE_NAMES "modules/*/module.cmake" "Modules")
LOAD_SECTIONS(ALL_CLIENT_NAMES "clients/*/module.cmake" "Clients")
IF(WIN32)
- LOAD_SECTIONS(ALL_INSTALLERS_NAMES "installers/*/CMakeLists.txt" "Installers")
LOAD_SECTIONS(ALL_TOOL_NAMES "tools/*/module.cmake" "Tools")
ENDIF(WIN32)
SET_TARGET_PROPERTIES(${MAIN_NSCP_TARGET} ${ALL_CLIENT_NAMES} ${ALL_MODULE_NAMES} ${ALL_TOOL_NAMES} PROPERTIES
@@ -580,6 +579,10 @@ SET_TARGET_PROPERTIES(${MAIN_NSCP_TARGET} ${ALL_CLIENT_NAMES} ${ALL_MODULE_NAMES
ADD_SUBDIRECTORY("docs")
+IF(WIN32)
+ LOAD_SECTIONS(ALL_INSTALLERS_NAMES "installers/*/CMakeLists.txt" "Installers")
+ENDIF(WIN32)
+
#############################################################################
#
# CTest setup and add testcases

0 comments on commit 3e1d0ab

Please sign in to comment.