Commit fd3b067c authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: superbuild: avoid conflict with system muParser headers (WIP)

parent 5a8202a3
......@@ -137,6 +137,9 @@ if(APPLE)
env
${LDLIBVAR}=${CMAKE_INSTALL_PREFIX}/lib:$ENV{${LDLIBVAR}}
${CMAKE_COMMAND})
list(APPEND OTB_SB_CONFIG
-DCMAKE_C_FLAGS:STRING="-I${CMAKE_INSTALL_PREFIX}/include"
-DCMAKE_CXX_FLAGS:STRING="-I${CMAKE_INSTALL_PREFIX}/include")
else()
set(OTB_SB_CMAKE_COMMAND ${SB_CMAKE_COMMAND})
endif()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment