mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 17:29:17 +08:00
[libjpeg-turbo] Fix non-windows non-linux
This commit is contained in:
parent
51f93e27f1
commit
d8aed01655
@ -13,7 +13,7 @@ vcpkg_apply_patches(
|
||||
"${CMAKE_CURRENT_LIST_DIR}/linux-cmake.patch"
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR (VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore"))
|
||||
set(LIBJPEGTURBO_SIMD -DWITH_SIMD=OFF)
|
||||
else()
|
||||
set(LIBJPEGTURBO_SIMD -DWITH_SIMD=ON)
|
||||
|
Loading…
Reference in New Issue
Block a user