Mercurial > hg > orthanc
comparison Resources/CMake/Compiler.cmake @ 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 |
comparison
equal
deleted
inserted
replaced
561:ded40a9e8cc8 | 564:06119badb2b0 |
---|---|
28 endif() | 28 endif() |
29 | 29 |
30 | 30 |
31 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 31 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
32 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") | 32 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") |
33 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${LSB_PATH}/include") | |
33 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -I${LSB_PATH}/include -I${LSB_PATH}/include/c++ -I${LSB_PATH}/include/c++/backward -fpermissive") | 34 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -I${LSB_PATH}/include -I${LSB_PATH}/include/c++ -I${LSB_PATH}/include/c++/backward -fpermissive") |
34 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${LSB_LIBPATH}") | 35 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${LSB_LIBPATH}") |
35 endif() | 36 endif() |
36 | 37 |
37 add_definitions( | 38 add_definitions( |