Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
3f5fe061
Commit
3f5fe061
authored
Oct 23, 2020
by
legoc
Browse files
(split) Switched to C++17
parent
49d854c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3f5fe061
...
...
@@ -14,7 +14,7 @@ endif()
if
(
NOT DEFINED CMAKE_CXX_STANDARD
)
# specify the C++ standard
set
(
CMAKE_CXX_STANDARD 1
1
)
set
(
CMAKE_CXX_STANDARD 1
7
)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
endif
()
...
...
@@ -31,15 +31,6 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
find_package
(
ZeroMQ REQUIRED
)
find_package
(
Rapidjson REQUIRED
)
#------------------------------------------------------------
# C++ version
#------------------------------------------------------------
#target_compile_features(cameo PUBLIC cxx_std_11)
# https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html
set
(
CMAKE_CXX_STANDARD 17
)
#set(CMAKE_CXX_STANDARD_REQUIRED ON)
#set(CMAKE_CXX_EXTENSIONS OFF)
#------------------------------------------------------------
# Libraries
...
...
Shervin Nourbakhsh
@nourbakhsh
mentioned in commit
46e44691
·
Apr 23, 2021
mentioned in commit
46e44691
mentioned in commit 46e44691a03808a23a464818487b0dd014a9c57e
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment