diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-11-02 12:50:41 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2020-11-09 09:45:28 +0100 |
commit | 3292a13718d18e7dd1b32ececc73b534398872dd (patch) | |
tree | dc6a0fc32e84de5af4a83e9f8352116c1bfe3f7d /tests | |
parent | 11c80b8e04feaa7b72cdbada92d5417dce7146dd (diff) | |
download | dlfcn-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.txt | 1 |
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 @@ | |||
1 | enable_testing() | ||
2 | include_directories(../src) | 1 | include_directories(../src) |
3 | add_library(testdll SHARED testdll.c) | 2 | add_library(testdll SHARED testdll.c) |
4 | set_target_properties(testdll PROPERTIES PREFIX "") | 3 | set_target_properties(testdll PROPERTIES PREFIX "") |