summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index aa9e963c4..777f080f0 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -94,7 +94,9 @@ macro(build_modules SRC)
target_link_libraries(${SO} ${PROGRAM_NAME})
endif()
# Set the module to be installed to the module directory under the data directory
- install(TARGETS ${SO} DESTINATION ${MODULE_DIR})
+ install(TARGETS ${SO}
+ DESTINATION ${MODULE_DIR}
+ LIBRARY)
endif()
endif()
endforeach()
@@ -168,7 +170,9 @@ macro(build_subdir)
endif()
# Set the module to be installed to the module directory under the data directory
- install(TARGETS ${SO} DESTINATION ${MODULE_DIR})
+ install(TARGETS ${SO}
+ DESTINATION ${MODULE_DIR}
+ LIBRARY)
endmacro()
include_directories(${CMAKE_CURRENT_SOURCE_DIR})