diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:30 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:30 +0200 |
commit | a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (patch) | |
tree | e469179df67a0e0db49161a43cbf8076a189f6f4 /app/dynstring/CMakeLists.txt | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
New upstream version 5.3.0GAupstream/5.3.0GAupstream
Diffstat (limited to 'app/dynstring/CMakeLists.txt')
-rw-r--r-- | app/dynstring/CMakeLists.txt | 18 |
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 |