summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a82103b..f5055b1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,24 +1,14 @@
project(kalmia)
-target_sources(
- kalmia PUBLIC
- transform.c
- node.c
- util.c
-)
-target_include_directories(kalmia PUBLIC ezxml)
+target_include_directories(kalmia PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(kalmia ezxml)
-add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/ezxml)
-
if (KALMIA_BUILD_TESTS)
target_sources(
kalmia-tests PUBLIC
test/lily-test.c
test/test.c
-
- transform.test.c
- node.test.c
- util.test.c
)
endif()
+
+add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/transform)