aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSilvio Traversaro <silvio@traversaro.it>2019-05-20 23:41:19 +0200
committerGitHub <noreply@github.com>2019-05-20 23:41:19 +0200
commit0fc1d9de6fea764866ecbfc10d7cf431bece033b (patch)
treecdd5423fa05e56af5ea604edb8334a6692383365 /CMakeLists.txt
parent84295c9afc0b42a61cf687d54c3bd5e286fd5176 (diff)
parentf3da31d7a3e4b300f325624bf4e424c3bbcd521b (diff)
downloaddlfcn-win32-1.2.0.tar.gz
dlfcn-win32-1.2.0.tar.bz2
dlfcn-win32-1.2.0.zip
Merge pull request #51 from pali/masterv1.2.0
Load Psapi.dll at runtime, this avoids linking caveat
Diffstat (limited to '')
-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