suppress warning only on linux for now, need to figure out for other OSes
parent
0479223b3f
commit
cd809309f7
|
@ -417,7 +417,9 @@ add_subdirectory(CppUnitLite)
|
||||||
if (GTSAM_BUILD_WRAP)
|
if (GTSAM_BUILD_WRAP)
|
||||||
add_subdirectory(wrap)
|
add_subdirectory(wrap)
|
||||||
# suppress warning of cython line being too long
|
# suppress warning of cython line being too long
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-misleading-indentation")
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-misleading-indentation")
|
||||||
|
endif()
|
||||||
endif(GTSAM_BUILD_WRAP)
|
endif(GTSAM_BUILD_WRAP)
|
||||||
|
|
||||||
# Build GTSAM library
|
# Build GTSAM library
|
||||||
|
|
Loading…
Reference in New Issue