diff 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
line wrap: on
line diff
--- 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()