aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-10-08 15:50:21 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-15 17:15:14 -0700
commitdd4254a3d9d26cd436f984515570ec8cd211ee33 (patch)
treea83495b3a2497d16c9d36a8def435fc3bca9c61a /CMakeLists.txt
parent5ea707adea4146a64c38106a9bad11b01f74f0ef (diff)
downloaddlfcn-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.txt1
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)
18endif (BUILD_SHARED_LIBS) 18endif (BUILD_SHARED_LIBS)
19 19
20add_library(dl ${sources}) 20add_library(dl ${sources})
21target_link_libraries(dl psapi)
21 22
22install (TARGETS dl RUNTIME DESTINATION bin 23install (TARGETS dl RUNTIME DESTINATION bin
23 LIBRARY DESTINATION lib${LIB_SUFFIX} 24 LIBRARY DESTINATION lib${LIB_SUFFIX}