We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6c0f9 commit 3da5577Copy full SHA for 3da5577
CMakeLists.txt
@@ -19,7 +19,22 @@ find_package(ZLIB QUIET)
19
include(GNUInstallDirs)
20
21
add_library(${PROJECT_NAME} INTERFACE)
22
-target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)
+
23
+# Might be missing some, but this list is somewhat comprehensive
24
+target_compile_features(${PROJECT_NAME} INTERFACE
25
+ cxx_std_11
26
+ cxx_nullptr
27
+ cxx_noexcept
28
+ cxx_lambdas
29
+ cxx_override
30
+ cxx_defaulted_functions
31
+ cxx_attribute_deprecated
32
+ cxx_auto_type
33
+ cxx_decltype
34
+ cxx_deleted_functions
35
+ cxx_range_for
36
+ cxx_sizeof_member
37
+)
38
39
target_include_directories(${PROJECT_NAME} INTERFACE
40
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
0 commit comments