Quote variable so it works on Windows
parent
b1dda699a3
commit
10a131fc36
|
@ -106,7 +106,7 @@ add_library(gtsam ${gtsam_srcs})
|
|||
target_link_libraries(gtsam PUBLIC ${GTSAM_BOOST_LIBRARIES})
|
||||
target_link_libraries(gtsam PUBLIC ${GTSAM_ADDITIONAL_LIBRARIES})
|
||||
|
||||
if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
|
||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
# Suppress warnings if Release build
|
||||
target_compile_options(gtsam PRIVATE -w)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue