Commit c10bc0d2 authored by Michaël Roynard's avatar Michaël Roynard

Compile feature disabled as introduced in cmake 3.10 (current cmake required...

Compile feature disabled as introduced in cmake 3.10 (current cmake required 2.8, update considered ?)
parent 80a40641
......@@ -20,13 +20,13 @@ if(MSVC OR APPLE)
file(GLOB_RECURSE MLN_SOURCES "${MLN_INCLUDE_DIR}/*.hpp")
add_library(Mln_srcs STATIC ${MLN_SOURCES})
set_target_properties(Mln_srcs PROPERTIES LINKER_LANGUAGE CXX)
target_compile_features(Mln_srcs PUBLIC cxx_std_14)
# target_compile_features(Mln_srcs PUBLIC cxx_std_14)
target_include_directories(Mln_srcs PUBLIC ${MLN_INCLUDE_DIR})
source_group(TREE ${MLN_INCLUDE_DIR} FILES ${MLN_SOURCES})
endif()
add_library(Mln INTERFACE)
target_compile_features(Mln INTERFACE cxx_std_14)
# target_compile_features(Mln INTERFACE cxx_std_14)
target_include_directories(Mln INTERFACE ${MLN_INCLUDE_DIR})
include_directories(SYSTEM ${Boost_INCLUDE_DIR})
......
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