"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "4c5c4299de4681cfab958064b7a748d3f82adbcb"
Unverified Commit db03655d authored by Gianfranco Costamagna's avatar Gianfranco Costamagna Committed by GitHub
Browse files

Make sure CXX_STANDARD can be overridden from outside (#1239)

parent 145eec5f
...@@ -15,5 +15,7 @@ else() ...@@ -15,5 +15,7 @@ else()
endif() endif()
add_executable(main main.cpp) add_executable(main main.cpp)
set_target_properties(main PROPERTIES CXX_STANDARD 11) if (NOT DEFINED CMAKE_CXX_STANDARD)
set_target_properties(main PROPERTIES CXX_STANDARD 11)
endif()
target_link_libraries(main PRIVATE ${YAML_CPP_LIBRARIES}) target_link_libraries(main PRIVATE ${YAML_CPP_LIBRARIES})
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