CMake 3.2 does not support cxx_std_11 target_compile_feature.

This commit is contained in:
Jim Evins
2017-11-23 22:52:13 -05:00
parent fc014c8e4b
commit 4821e103bc
6 changed files with 24 additions and 18 deletions
+4 -3
View File
@@ -102,9 +102,10 @@ add_executable (glabels-qt WIN32
${glabels_win_rc}
)
target_compile_features (glabels-qt
PUBLIC cxx_std_11
)
#target_compile_features (glabels-qt
# PUBLIC cxx_std_11
#)
set_property (TARGET glabels-qt PROPERTY CXX_STANDARD 11)
target_include_directories (glabels-qt
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}