aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2019-05-06 21:47:33 +0200
committerPali Rohár <pali.rohar@gmail.com>2019-05-06 21:47:33 +0200
commitf3da31d7a3e4b300f325624bf4e424c3bbcd521b (patch)
treecdd5423fa05e56af5ea604edb8334a6692383365 /CMakeLists.txt
parent84295c9afc0b42a61cf687d54c3bd5e286fd5176 (diff)
downloaddlfcn-win32-f3da31d7a3e4b300f325624bf4e424c3bbcd521b.tar.gz
dlfcn-win32-f3da31d7a3e4b300f325624bf4e424c3bbcd521b.tar.bz2
dlfcn-win32-f3da31d7a3e4b300f325624bf4e424c3bbcd521b.zip
Load Psapi.dll at runtime, this avoids linking caveat
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07addbb..e44343d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,6 @@ if (BUILD_SHARED_LIBS)
17endif (BUILD_SHARED_LIBS) 17endif (BUILD_SHARED_LIBS)
18 18
19add_library(dl ${sources}) 19add_library(dl ${sources})
20target_link_libraries(dl psapi)
21 20
22install (TARGETS dl EXPORT dlfcn-win32-targets 21install (TARGETS dl EXPORT dlfcn-win32-targets
23 RUNTIME DESTINATION bin 22 RUNTIME DESTINATION bin