File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED true)
88#
99# Project details
1010#
11- project ("stdsharp" VERSION 0.2.4 LANGUAGES CXX)
11+ project ("stdsharp" VERSION 0.2.5 LANGUAGES CXX)
1212
1313init_proj()
1414
@@ -52,12 +52,16 @@ if(NOT is_subproject)
5252 set (is_standalone YES )
5353else ()
5454 set (is_standalone NO )
55- target_include_as_system(${PROJECT_NAME} INTERFACE )
5655endif ()
5756
5857include (CMakeDependentOption)
5958
6059CMAKE_DEPENDENT_OPTION(STDSHARP_BUILD_TEST "Whether to build test" ON "${is_standalone} " OFF )
60+ CMAKE_DEPENDENT_OPTION(STDSHARP_INCLUDE_AS_SYSTEM "Whether to include stdsharp headers as system headers" OFF "${is_standalone} " ON )
61+
62+ if (STDSHARP_INCLUDE_AS_SYSTEM)
63+ target_include_as_system(${PROJECT_NAME} INTERFACE )
64+ endif ()
6165
6266if (STDSHARP_BUILD_TEST)
6367 #
You can’t perform that action at this time.
0 commit comments