Skip to content

Commit 6f85bf0

Browse files
committed
CMakeLists: Indicate to ensure we use c++17
1 parent 8021411 commit 6f85bf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

engine/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,8 @@ if(CMAKE_CXX_STANDARD LESS 17)
199199
message(STATUS "use c++14")
200200
find_package(Boost 1.61.0 REQUIRED)
201201
target_include_directories(${TARGET_NAME} PRIVATE ${Boost_INCLUDE_DIRS})
202-
elseif(CMAKE_CXX_STANDARD LESS 20)
203-
message(STATUS "use c++17")
204202
else()
205-
message(STATUS "use c++20")
203+
message(STATUS "use c++17")
206204
endif()
207205

208206
aux_source_directory(controllers CTL_SRC)

0 commit comments

Comments
 (0)