From e7073c34d2ca92663d98bbb1912ad5f6e615e87f Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 8 Jan 2023 23:27:03 -0600 Subject: add kai_alloc --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index bf4279e..b22b369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,14 +24,14 @@ if (KALMIA_BUILD_TESTS) endif() endif() -# if (KALMIA_BUILD_EXAMPLE) -# add_executable(kalmia-example) -# target_link_libraries(kalmia-example kalmia) -# if (UNIX) -# target_link_libraries(kalmia-example m) -# endif() -# add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/example) -# endif() +if (KALMIA_BUILD_EXAMPLE) + add_executable(kalmia-example) + target_link_libraries(kalmia-example kalmia) + if (UNIX) + target_link_libraries(kalmia-example m) + endif() + add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/example) +endif() add_subdirectory(src) add_subdirectory(3rdparty/ezxml) -- cgit v1.2.1