diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-10-08 15:50:21 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-03-15 17:15:14 -0700 |
commit | dd4254a3d9d26cd436f984515570ec8cd211ee33 (patch) | |
tree | a83495b3a2497d16c9d36a8def435fc3bca9c61a /CMakeLists.txt | |
parent | 5ea707adea4146a64c38106a9bad11b01f74f0ef (diff) | |
download | dlfcn-win32-dd4254a3d9d26cd436f984515570ec8cd211ee33.tar.gz dlfcn-win32-dd4254a3d9d26cd436f984515570ec8cd211ee33.tar.bz2 dlfcn-win32-dd4254a3d9d26cd436f984515570ec8cd211ee33.zip |
Add linked modules to a separate global list
Fixes #2.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 972ffb4..1dbec48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -18,6 +18,7 @@ if (BUILD_SHARED_LIBS) | |||
18 | endif (BUILD_SHARED_LIBS) | 18 | endif (BUILD_SHARED_LIBS) |
19 | 19 | ||
20 | add_library(dl ${sources}) | 20 | add_library(dl ${sources}) |
21 | target_link_libraries(dl psapi) | ||
21 | 22 | ||
22 | install (TARGETS dl RUNTIME DESTINATION bin | 23 | install (TARGETS dl RUNTIME DESTINATION bin |
23 | LIBRARY DESTINATION lib${LIB_SUFFIX} | 24 | LIBRARY DESTINATION lib${LIB_SUFFIX} |