Commit 47751315 authored by Shervin Nourbakhsh's avatar Shervin Nourbakhsh

c++ std 11 feature removed as target_compile_feature because of CMake version 3.7.2

parent 7b49d04d
......@@ -6,7 +6,7 @@ project(cameo VERSION 0.3.0 LANGUAGES CXX)
include(GNUInstallDirs)
# specify the C++ standard
#set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_CXX_STANDARD_REQUIRED False)
# Want to compile dynamic or static libraries
......
......@@ -47,7 +47,6 @@ target_include_directories(cameo
PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
#target_compile_features(cameo PUBLIC cxx_std_11)
add_definitions(-std=c++11)
set_target_properties(cameo PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment