aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/vtflib-strata/CMakeLists.txt.append
diff options
context:
space:
mode:
authoryuuko <yuuko@partyvan.io>2024-12-15 09:59:43 -0800
committeryuuko <yuuko@partyvan.io>2024-12-15 09:59:43 -0800
commit8f812e3aecc6b4645372ca997cd3f968796b6851 (patch)
tree2aa36cdd7f8204c3938465d9b00f29b24bea6f24 /srcds-pkgs/vtflib-strata/CMakeLists.txt.append
parent0a08e401d26785638c09ce378c282924e3ddbaf9 (diff)
pkgs: enable vtex2 gui, let strata's vtflib actually build as a library
Diffstat (limited to 'srcds-pkgs/vtflib-strata/CMakeLists.txt.append')
-rw-r--r--srcds-pkgs/vtflib-strata/CMakeLists.txt.append10
1 files changed, 10 insertions, 0 deletions
diff --git a/srcds-pkgs/vtflib-strata/CMakeLists.txt.append b/srcds-pkgs/vtflib-strata/CMakeLists.txt.append
new file mode 100644
index 0000000..d5e5285
--- /dev/null
+++ b/srcds-pkgs/vtflib-strata/CMakeLists.txt.append
@@ -0,0 +1,10 @@
+file(GLOB_RECURSE VTFLIB_INCLUDES "lib/*.h")
+set_target_properties(vtflib_static
+ PROPERTIES
+ PUBLIC_HEADER "${VTFLIB_INCLUDES}"
+)
+install (TARGETS vtflib vtflib_static
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ PUBLIC_HEADER DESTINATION include
+)