diff options
Diffstat (limited to 'vcpkg/ports/spaceland/fix-cmake4.patch')
| -rw-r--r-- | vcpkg/ports/spaceland/fix-cmake4.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/spaceland/fix-cmake4.patch b/vcpkg/ports/spaceland/fix-cmake4.patch new file mode 100644 index 0000000..404d04a --- /dev/null +++ b/vcpkg/ports/spaceland/fix-cmake4.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3fb062c7e4..5a93a8c4c7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -211,7 +211,7 @@ ADD_CUSTOM_TARGET(uninstall + # Compiler dependent definitions + + +-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") ++if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang") + # using Clang + MESSAGE("-- Current build compiler is Clang") + ADD_DEFINITIONS(-D_ISOC9X_SOURCE) |