Mercurial > hg > orthanc
diff Resources/CMake/Compiler.cmake @ 561:ded40a9e8cc8 laaw
patches for lsb
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Sep 2013 17:52:38 +0200 |
parents | b2b56b4e33b0 |
children | 06119badb2b0 |
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake Mon Sep 23 17:19:52 2013 +0200 +++ b/Resources/CMake/Compiler.cmake Mon Sep 23 17:52:38 2013 +0200 @@ -31,6 +31,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -I${LSB_PATH}/include -I${LSB_PATH}/include/c++ -I${LSB_PATH}/include/c++/backward -fpermissive") + SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${LSB_LIBPATH}") endif() add_definitions(