We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f95ba commit 4ae1601Copy full SHA for 4ae1601
1 file changed
SHMath/CMakeLists.txt
@@ -217,3 +217,16 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
217
target_compile_options(${PROJECT_NAME} PRIVATE $<$<VERSION_GREATER_EQUAL:${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION},10.0.22000>:/Zc:templateScope>)
218
endif()
219
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()
0 commit comments