comparison 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
comparison
equal deleted inserted replaced
558:6b9d09cc9e9d 561:ded40a9e8cc8
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_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++ -I${LSB_PATH}/include -I${LSB_PATH}/include/c++ -I${LSB_PATH}/include/c++/backward -fpermissive") 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_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${LSB_LIBPATH}")
34 endif() 35 endif()
35 36
36 add_definitions( 37 add_definitions(
37 -D_LARGEFILE64_SOURCE=1 38 -D_LARGEFILE64_SOURCE=1
38 -D_FILE_OFFSET_BITS=64 39 -D_FILE_OFFSET_BITS=64