diff --git a/CMakeLists.txt b/CMakeLists.txt index b02bf7afa..500ce02a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,11 +200,6 @@ if (IOS) update_cache_variable(MINIGLOG ON) message(STATUS "Building for iOS: Forcing use of miniglog instead of glog.") - update_cache_variable(SUITESPARSE OFF) - update_cache_variable(CXSPARSE OFF) - update_cache_variable(GFLAGS OFF) - update_cache_variable(OPENMP OFF) - update_cache_variable(TBB OFF) # Apple claims that the BLAS call dsyrk_ is a private API, and will not allow # you to submit to the Apple Store if the symbol is present. update_cache_variable(LAPACK OFF) diff --git a/cmake/iOS.cmake b/cmake/iOS.cmake index 00752b490..bb4280250 100644 --- a/cmake/iOS.cmake +++ b/cmake/iOS.cmake @@ -312,6 +312,7 @@ set(CMAKE_SYSTEM_FRAMEWORK_PATH set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) # This little macro lets you set any XCode specific property. macro(set_xcode_property TARGET XCODE_PROPERTY XCODE_VALUE)