diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pcl/fix-clang-cl.patch | |
Diffstat (limited to 'vcpkg/ports/pcl/fix-clang-cl.patch')
| -rw-r--r-- | vcpkg/ports/pcl/fix-clang-cl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/pcl/fix-clang-cl.patch b/vcpkg/ports/pcl/fix-clang-cl.patch new file mode 100644 index 0000000..31d2b02 --- /dev/null +++ b/vcpkg/ports/pcl/fix-clang-cl.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fad95c9..b4ca305 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -51,7 +51,7 @@ set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING + # Compiler identification + # Define a variable CMAKE_COMPILER_IS_X where X is the compiler short name. + # Note: CMake automatically defines one for GNUCXX, nothing to do in this case. +-if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") ++if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MSVC) + set(CMAKE_COMPILER_IS_CLANG 1) + elseif(__COMPILER_PATHSCALE) + set(CMAKE_COMPILER_IS_PATHSCALE 1) |