Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPlugins.cmake @ 1405:dae2e28951c6
fix freebsd build
author | jodogne |
---|---|
date | Mon, 01 Jun 2015 15:40:50 +0200 |
parents | 785e01da36a1 |
children | 97268448bdfc |
comparison
equal
deleted
inserted
replaced
1404:8a330b258491 | 1405:dae2e28951c6 |
---|---|
1 include(CheckLibraryExists) | 1 include(CheckLibraryExists) |
2 include(${ORTHANC_ROOT}/Resources/CMake/Compiler.cmake) | |
2 | 3 |
3 | 4 |
4 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 5 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
5 link_libraries(uuid) | 6 link_libraries(uuid) |
6 SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread") | 7 SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread") |