diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-04-15 12:35:36 +0100 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-04-15 12:41:56 +0100 |
| commit | 3e5d3c5bdc2f52982529bd6cbf8e1edf914ec163 (patch) | |
| tree | a82033e9a37869ced3b48c73ccdd6861b4db18e8 /modules | |
| parent | 62deedfa755d9c7e20be59e513ce27e087419f3b (diff) | |
Avoid packaging unnecessary .lib files on Windows.
[skip alpine ci]
[skip ubuntu ci]
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/CMakeLists.txt | 8 |
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}) |
