aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2021-01-17 12:51:08 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2021-01-17 12:51:39 +0100
commitebd7badd50aeea37a2ca121409e9f68370b62855 (patch)
treea5e7bd420e4199f2bb98836a2b97f6f0e8e3d97d /CMakeLists.txt
parent0ea2334d46ca84c1a27bd086700f620a06401f94 (diff)
downloaddlfcn-win32-ebd7badd50aeea37a2ca121409e9f68370b62855.tar.gz
dlfcn-win32-ebd7badd50aeea37a2ca121409e9f68370b62855.tar.bz2
dlfcn-win32-ebd7badd50aeea37a2ca121409e9f68370b62855.zip
cmake: add support to build test-dladdr on unix like os
This is used to obtain test result references.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2202c93..df53be1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,9 @@ else()
39 add_compile_options(-Wall) 39 add_compile_options(-Wall)
40endif() 40endif()
41 41
42add_subdirectory(src) 42if(WIN32)
43 add_subdirectory(src)
44endif()
43 45
44if (BUILD_TESTS) 46if (BUILD_TESTS)
45 add_subdirectory(tests) 47 add_subdirectory(tests)