File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -217,3 +217,16 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
217
217
target_compile_options (${PROJECT_NAME} PRIVATE $<$<VERSION_GREATER_EQUAL :${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION} ,10.0.22000>:/Zc:templateScope>)
218
218
endif ()
219
219
endif ()
220
+
221
+ if (NOT WIN32 )
222
+ include (FetchContent)
223
+ FetchContent_Declare(
224
+ salheaderforsh
225
+ URL https://raw.githubusercontent.com/dotnet/runtime/v9.0.2/src/coreclr/pal/inc/rt/sal.h
226
+ URL_HASH SHA512=8085f67bfa4ce01ae89461cadf72454a9552fde3f08b2dcc3de36b9830e29ce7a6192800f8a5cb2a66af9637be0017e85719826a4cfdade508ae97f319e0ee8e
227
+ DOWNLOAD_NO_EXTRACT ON
228
+ )
229
+ FetchContent_MakeAvailable(salheaderforsh)
230
+
231
+ target_include_directories (${PROJECT_NAME} PRIVATE ${salheaderforsh_SOURCE_DIR} )
232
+ endif ()
You can’t perform that action at this time.
0 commit comments