diff options
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index af31977..5aa921b 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -85,6 +85,10 @@ ADD_EXECUTABLE(cmake cmakemain.cxx) ADD_EXECUTABLE(DumpDocumentation cmDumpDocumentation) ADD_EXECUTABLE(ctest ctest.cxx) +IF (UNIX) + TARGET_LINK_LIBRARIES(CMakeLib ${CMAKE_DL_LIBS}) +ENDIF (UNIX) + TARGET_LINK_LIBRARIES(cmake CMakeLib) TARGET_LINK_LIBRARIES(DumpDocumentation CMakeLib) TARGET_LINK_LIBRARIES(ctest CMakeLib) |