diff options
author | Silvio Traversaro <silvio@traversaro.it> | 2019-05-20 23:41:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 23:41:19 +0200 |
commit | 0fc1d9de6fea764866ecbfc10d7cf431bece033b (patch) | |
tree | cdd5423fa05e56af5ea604edb8334a6692383365 /CMakeLists.txt | |
parent | 84295c9afc0b42a61cf687d54c3bd5e286fd5176 (diff) | |
parent | f3da31d7a3e4b300f325624bf4e424c3bbcd521b (diff) | |
download | dlfcn-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.txt | 1 |
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) | |||
17 | endif (BUILD_SHARED_LIBS) | 17 | endif (BUILD_SHARED_LIBS) |
18 | 18 | ||
19 | add_library(dl ${sources}) | 19 | add_library(dl ${sources}) |
20 | target_link_libraries(dl psapi) | ||
21 | 20 | ||
22 | install (TARGETS dl EXPORT dlfcn-win32-targets | 21 | install (TARGETS dl EXPORT dlfcn-win32-targets |
23 | RUNTIME DESTINATION bin | 22 | RUNTIME DESTINATION bin |