Skip to content

Commit

Permalink
RSDK-5378 - allow setting of cpp standard (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuqdog authored May 16, 2024
1 parent 9f3d39b commit 88158f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ endif()


# Enforce the C++ standard, and disable extensions
set(CMAKE_CXX_STANDARD 14)
if (NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down

0 comments on commit 88158f3

Please sign in to comment.