diff options
Diffstat (limited to 'source/lib/system/CMakeLists.txt')
| -rw-r--r-- | source/lib/system/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/lib/system/CMakeLists.txt b/source/lib/system/CMakeLists.txt index 6b7ce7c..59d0b50 100644 --- a/source/lib/system/CMakeLists.txt +++ b/source/lib/system/CMakeLists.txt @@ -24,7 +24,7 @@ pkg_check_modules("libmagic" "libmagic" ) -add_library("wanda-${LIB_NAME}" +add_library("wanda-${LIB_NAME}" ${WANDA_LIBRARY_TYPE} ${LIB_SOURCES} ) @@ -59,8 +59,10 @@ target_link_libraries("wanda-${LIB_NAME}" PUBLIC "PkgConfig::GIO" ) -install(TARGETS "wanda-${LIB_NAME}" - FILE_SET HEADERS -) +if(NOT WANDA_APPLICATIONS_ONLY) + install(TARGETS "wanda-${LIB_NAME}" + FILE_SET HEADERS + ) +endif() add_library("wanda::${LIB_NAME}" ALIAS "wanda-${LIB_NAME}") |
