Skip to content

Commit

Permalink
Fix another CMAKE flag name
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Nibbelink <[email protected]>
Signed-off-by: Paul Wilson <[email protected]>
  • Loading branch information
gonuke and bennibbelink authored Aug 28, 2024
1 parent 0db0c95 commit 5655e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PROJECT(@lib_name@)
# check for and enable c++17 support
INCLUDE(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++17" COMPILER_SUPPORTS_CXX17)
IF(COMPILER_SUPPORTS_CXX11)
IF(COMPILER_SUPPORTS_CXX17)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
ELSE()
MESSAGE(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no c++17
Expand Down

0 comments on commit 5655e2b

Please sign in to comment.