Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
a687b5a9
Commit
a687b5a9
authored
Dec 08, 2020
by
Shervin Nourbakhsh
Browse files
target compile features c++17
parent
83244bce
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a687b5a9
...
...
@@ -18,13 +18,6 @@ if(NOT DEFINED BUILD_SHARED_LIBS)
#set(BUILD_SHARED_LIBS True)
endif
()
if
(
NOT DEFINED CMAKE_CXX_STANDARD
)
# specify the C++ standard
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
endif
()
# fix the RPATH for the linker
#if(not APPLE)
# set(CMAKE_INSTALL_RPATH $ORIGIN)
...
...
@@ -70,7 +63,7 @@ target_include_directories(cameo
SYSTEM PRIVATE
${
Rapidjson_INCLUDE_DIRS
}
/
)
#target_include_directories(cameo PRIVATE ${DOCTEST_INCLUDE_DIR})
#
target_compile_features(cameo PUBLIC cxx_std_1
1
)
target_compile_features
(
cameo PUBLIC cxx_std_1
7
)
set_target_properties
(
cameo PROPERTIES
SOVERSION
${
PROJECT_VERSION_MAJOR
}
...
...
Shervin Nourbakhsh
@nourbakhsh
mentioned in commit
46e44691
·
Apr 23, 2021
mentioned in commit
46e44691
mentioned in commit 46e44691a03808a23a464818487b0dd014a9c57e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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