Mercurial > hg > orthanc
changeset 564:06119badb2b0 laaw
lsb cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Sep 2013 10:43:03 +0200 |
parents | ded40a9e8cc8 |
children | 6a3e2ca7a7a0 |
files | NEWS Resources/CMake/Compiler.cmake |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Mon Sep 23 17:52:38 2013 +0200 +++ b/NEWS Tue Sep 24 10:43:03 2013 +0200 @@ -2,6 +2,8 @@ =============================== * Switch to Boost 1.54.0 (cf. issue #9) +* Build of the C++ client as a shared library +* Improved C++ client API Version 0.6.1 (2013/09/16)
--- a/Resources/CMake/Compiler.cmake Mon Sep 23 17:52:38 2013 +0200 +++ b/Resources/CMake/Compiler.cmake Tue Sep 24 10:43:03 2013 +0200 @@ -30,6 +30,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${LSB_PATH}/include") 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()