From 3292a13718d18e7dd1b32ececc73b534398872dd Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 2 Nov 2020 12:50:41 +0100 Subject: cmake: Let make target 'test' be accessable from topmost build directory The cmake command enable_testing() must be placed in the topmost CMakeLists.txt so that the make target 'test' is available in the topmost build directory. --- tests/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 25e9eea..be1c359 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,3 @@ -enable_testing() include_directories(../src) add_library(testdll SHARED testdll.c) set_target_properties(testdll PROPERTIES PREFIX "") -- cgit v1.2.3-55-g6feb