Disable libjpeg-turbo build on ios, because it's not working correctly
This commit is contained in:
4
3rdParty/libjpeg-turbo/CMakeLists.txt
vendored
4
3rdParty/libjpeg-turbo/CMakeLists.txt
vendored
@@ -5,7 +5,7 @@ if (NOT IOS)
|
||||
endif()
|
||||
if (libjpeg-turbo_FOUND)
|
||||
message("Using system libjpeg-turbo")
|
||||
else ()
|
||||
elseif (NOT IOS)
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/deps_ljt)
|
||||
if (CMAKE_TOOLCHAIN_FILE)
|
||||
if(NOT IS_ABSOLUTE ${CMAKE_TOOLCHAIN_FILE})
|
||||
@@ -19,7 +19,7 @@ else ()
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/deps_ljt
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/deps_ljt
|
||||
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}/deps_ljt --config Release
|
||||
RESULT_VARIABLE build_result
|
||||
)
|
||||
if (NOT ${build_result} EQUAL "0")
|
||||
|
||||
Reference in New Issue
Block a user