Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit a356bc8

Browse files
committed
CMakeLists: Indicate to ensure we use c++17
1 parent e2c9370 commit a356bc8

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
@@ -198,10 +198,8 @@ if(CMAKE_CXX_STANDARD LESS 17)
198198
message(STATUS "use c++14")
199199
find_package(Boost 1.61.0 REQUIRED)
200200
target_include_directories(${TARGET_NAME} PRIVATE ${Boost_INCLUDE_DIRS})
201-
elseif(CMAKE_CXX_STANDARD LESS 20)
202-
message(STATUS "use c++17")
203201
else()
204-
message(STATUS "use c++20")
202+
message(STATUS "use c++17")
205203
endif()
206204

207205
aux_source_directory(controllers CTL_SRC)

0 commit comments

Comments
 (0)