diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-20 14:23:17 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-20 14:23:17 (GMT) |
commit | b9947a91d4bd84b28ddd89f7f8a5b57eac010d39 (patch) | |
tree | 1e15a3f03a8e158397579621f15da3ef3d9e666a /Modules/CMakeGenericSystem.cmake | |
parent | 18d9fad3dfc3c058ab47ccec6e1772abf282a09e (diff) | |
download | CMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.zip CMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.tar.gz CMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.tar.bz2 |
ENH: Cleanup link libraries. Remove -l from -ldl
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 1ea6e36..5ec2501 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -5,7 +5,7 @@ SET(CMAKE_STATIC_LIBRARY_SUFFIX ".a") SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") # lib SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so") # .so SET(CMAKE_EXECUTABLE_SUFFIX "") # .exe -SET(CMAKE_DL_LIBS "-ldl") +SET(CMAKE_DL_LIBS "dl") SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib |