use target_compile_features()
This commit is contained in:
@@ -64,6 +64,7 @@ if(BUILD_SHARED_LIBS)
|
||||
else()
|
||||
add_library(${PROJECT_NAME} STATIC "")
|
||||
endif()
|
||||
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)
|
||||
if(NOT APPLE)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user