summaryrefslogtreecommitdiff
path: root/app/dynstring/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-11-14 19:35:45 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-11-14 19:35:45 +0100
commitdf5520aa2dae5b3ce7abf8733dcdd152898af163 (patch)
tree00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/dynstring/CMakeLists.txt
parentdf247efec654e512242e4f4f1b0212034f9e01fe (diff)
parentec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff)
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
Diffstat (limited to 'app/dynstring/CMakeLists.txt')
-rw-r--r--app/dynstring/CMakeLists.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/dynstring/CMakeLists.txt b/app/dynstring/CMakeLists.txt
index b407805..01aa2b2 100644
--- a/app/dynstring/CMakeLists.txt
+++ b/app/dynstring/CMakeLists.txt
@@ -1,11 +1,17 @@
# compile the dynstring library
-set( SOURCES
- dynstring.c )
-
add_library(dynstring
- ${SOURCES})
+ "")
+
+target_sources(dynstring
+ PRIVATE
+ dynstring.c
+ PUBLIC
+ dynstring.h
+)
if(XTRKCAD_TESTING)
- add_subdirectory( unittest )
-endif(XTRKCAD_TESTING) \ No newline at end of file
+ add_subdirectory(unittest)
+endif()
+
+target_include_directories(dynstring PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") \ No newline at end of file