Mercurial > hg > orthanc
comparison Resources/CMake/Compiler.cmake @ 1031:703a552b52bc
missing dependency
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 15:13:33 +0200 |
parents | 8811abd6aec9 |
children | 3a26bc6e4867 |
comparison
equal
deleted
inserted
replaced
1030:66fa947c7280 | 1031:703a552b52bc |
---|---|
54 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") | 54 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") |
55 | 55 |
56 # Remove the "-rdynamic" option | 56 # Remove the "-rdynamic" option |
57 # http://www.mail-archive.com/cmake@cmake.org/msg08837.html | 57 # http://www.mail-archive.com/cmake@cmake.org/msg08837.html |
58 set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") | 58 set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") |
59 link_libraries(uuid pthread rt) | 59 link_libraries(uuid pthread rt dl) |
60 | 60 |
61 elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 61 elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
62 add_definitions( | 62 add_definitions( |
63 -DWINVER=0x0501 | 63 -DWINVER=0x0501 |
64 -D_CRT_SECURE_NO_WARNINGS=1 | 64 -D_CRT_SECURE_NO_WARNINGS=1 |