Skip to content

Commit 41ba625

Browse files
committed
Fix CXX_STANDARD on boost try_compile
1 parent 824e861 commit 41ba625

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/FindThirdpartyBoost.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ try_compile(IS_THIRDPARTY_BOOST_OK
2323
${CMAKE_BINARY_DIR}
2424
${PROJECT_SOURCE_DIR}/thirdparty/boost/test/ThirdpartyBoostCompile_test.cpp
2525
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${THIRDPARTY_BOOST_INCLUDE_DIR}"
26+
CXX_STANDARD 11
2627
LINK_LIBRARIES ${THIRDPARTY_BOOST_LINK_LIBS}
2728
OUTPUT_VARIABLE OUT
2829
)

0 commit comments

Comments
 (0)