From 11c80b8e04feaa7b72cdbada92d5417dce7146dd Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 2 Nov 2020 12:37:36 +0100 Subject: cmake: place all generated binaries into one place This is required for running test applications, because by default cmake places binaries into the associated subdir. --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 64f85f7..25e9eea 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -9,4 +9,4 @@ add_library(testdll3 SHARED testdll3.c) set_target_properties(testdll3 PROPERTIES PREFIX "") add_executable(t_dlfcn test.c) target_link_libraries(t_dlfcn dl) -add_test (NAME t_dlfcn COMMAND t_dlfcn) +add_test(NAME t_dlfcn COMMAND $ WORKING_DIRECTORY $) -- cgit v1.2.3-55-g6feb