summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 7d3811f4e..9e094b40c 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -53,7 +53,7 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS})
set(SKIP_LIBRARIES)
# Calculate the library dependencies for the given source file
calculate_libraries(${SRC} SKIP_LIBRARIES TEMP_LDFLAGS TEMP_DEPENDENCIES)
- if(NOT SKIP AND NOT SKIP_LIBRARIES)
+ if(NOT SKIP_DEPENDS AND NOT SKIP_LIBRARIES)
# Reset has_function
set(HAS_FUNCTION)
# Check the function dependencies for the given source file
@@ -86,7 +86,7 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS})
DESTINATION data/modules
)
endif(HAS_FUNCTION)
- endif(NOT SKIP AND NOT SKIP_LIBRARIES)
+ endif(NOT SKIP_DEPENDS AND NOT SKIP_LIBRARIES)
endforeach(SRC)
# Get a list of ALL files and directories within this modules directory