Skip to content
Snippets Groups Projects
Commit b17fed4f authored by Niccolò Betto's avatar Niccolò Betto
Browse files

[CMake] Properly set C++ standard to 14

Since the C++ standard was never set, some libraries such as libfmt were compiled as C++11, while others like eigen were compiled as C++17.
parent 6db3d950
Branches
Tags
1 merge request!338[CMake] Set C++ standard to 14 + fix enable_language warning
Pipeline #10723 passed
......@@ -21,6 +21,9 @@
enable_language(C CXX ASM)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Load in SBS_BASE the project path
cmake_path(GET CMAKE_CURRENT_LIST_DIR PARENT_PATH SBS_BASE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment