From 07ae849c48de49b2644e78fa02fda63275104164 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 17 Oct 2023 00:12:27 +0200 Subject: cmake: fix constantly relinking --- test/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ab11d536..7609655d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -18,8 +18,7 @@ if (FLOORMAT_ASAN) set_target_properties(${self} PROPERTIES OUTPUT_NAME "floormat-test-asan") endif() -install(TARGETS ${self} RUNTIME DESTINATION bin) -fm_add_debug_info(${self}) +fm_add_install_executable(${self}) set(save-dir "${CMAKE_BINARY_DIR}/test/save") file(REMOVE_RECURSE "${save-dir}") -- cgit v1.2.3