Skip to content

Commit

Permalink
Fix iOS try_compile problems (Closes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Mar 12, 2017
1 parent 2d81fea commit da6ffae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toolchain/iOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ set (CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,")
set (CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,")
set (CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")

set(CMAKE_MACOSX_BUNDLE ON)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED OFF)

# hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree
# (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache
# and still cmake didn't fail in CMakeFindBinUtils.cmake (because it isn't rerun)
Expand Down

0 comments on commit da6ffae

Please sign in to comment.