aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2020-11-02 12:50:41 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2020-11-09 09:45:28 +0100
commit3292a13718d18e7dd1b32ececc73b534398872dd (patch)
treedc6a0fc32e84de5af4a83e9f8352116c1bfe3f7d /tests
parent11c80b8e04feaa7b72cdbada92d5417dce7146dd (diff)
downloaddlfcn-win32-3292a13718d18e7dd1b32ececc73b534398872dd.tar.gz
dlfcn-win32-3292a13718d18e7dd1b32ececc73b534398872dd.tar.bz2
dlfcn-win32-3292a13718d18e7dd1b32ececc73b534398872dd.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
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 @@
1enable_testing()
2include_directories(../src) 1include_directories(../src)
3add_library(testdll SHARED testdll.c) 2add_library(testdll SHARED testdll.c)
4set_target_properties(testdll PROPERTIES PREFIX "") 3set_target_properties(testdll PROPERTIES PREFIX "")