Fix issue with finding the right libjpeg-turbo on mac
This commit is contained in:
4
3rdParty/libjpeg-turbo/CMakeLists.txt
vendored
4
3rdParty/libjpeg-turbo/CMakeLists.txt
vendored
@@ -1,6 +1,8 @@
|
||||
include(../../cmake/Utils.cmake)
|
||||
|
||||
Find_Package(libjpeg-turbo QUIET)
|
||||
if (NOT IOS)
|
||||
Find_Package(libjpeg-turbo QUIET)
|
||||
endif()
|
||||
if (libjpeg-turbo_FOUND)
|
||||
message("Using system libjpeg-turbo")
|
||||
else ()
|
||||
|
||||
Reference in New Issue
Block a user