diff options
Diffstat (limited to 'vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch')
| -rw-r--r-- | vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch b/vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch new file mode 100644 index 0000000..1c0b138 --- /dev/null +++ b/vcpkg/ports/libjpeg-turbo/workaround_cmake_system_processor.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 55ff716..abad9fa 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -105,7 +105,7 @@ include(cmakescripts/PackageInfo.cmake) + + # Detect CPU type and whether we're building 64-bit or 32-bit code + math(EXPR BITS "${CMAKE_SIZEOF_VOID_P} * 8") +-string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} CMAKE_SYSTEM_PROCESSOR_LC) ++string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" CMAKE_SYSTEM_PROCESSOR_LC) + set(COUNT 1) + foreach(ARCH ${CMAKE_OSX_ARCHITECTURES}) + if(COUNT GREATER 1) |