From a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 3 Jul 2024 10:19:30 +0200 Subject: New upstream version 5.3.0GA --- app/dynstring/CMakeLists.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'app/dynstring/CMakeLists.txt') 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 -- cgit v1.2.3