aboutsummaryrefslogtreecommitdiff
path: root/source/lib/meta
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2023-09-07 11:38:59 +0200
committerFelix Morgner <felix.morgner@gmail.com>2023-09-07 11:38:59 +0200
commit13cf6fe70cc68bd4d803385f5c6d7fe9c7691247 (patch)
treee36644032f4c04134ec0754bb1bbbbe8df633954 /source/lib/meta
parent77bf36d5183eb11642bdff771750a38d1b8fa8bd (diff)
downloadwanda-13cf6fe70cc68bd4d803385f5c6d7fe9c7691247.tar.xz
wanda-13cf6fe70cc68bd4d803385f5c6d7fe9c7691247.zip
build: add a build version without libraries
Diffstat (limited to 'source/lib/meta')
-rw-r--r--source/lib/meta/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/lib/meta/CMakeLists.txt b/source/lib/meta/CMakeLists.txt
index e6e3372..d21d45c 100644
--- a/source/lib/meta/CMakeLists.txt
+++ b/source/lib/meta/CMakeLists.txt
@@ -22,8 +22,10 @@ target_compile_features("wanda-${LIB_NAME}" INTERFACE
"cxx_std_20"
)
-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}")