Skip to content

Commit da6ffae

Browse files
committed
Fix iOS try_compile problems (Closes #9)
1 parent 2d81fea commit da6ffae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

toolchain/iOS.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ set (CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,")
8282
set (CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,")
8383
set (CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")
8484

85+
set(CMAKE_MACOSX_BUNDLE ON)
86+
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED OFF)
87+
8588
# hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree
8689
# (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache
8790
# and still cmake didn't fail in CMakeFindBinUtils.cmake (because it isn't rerun)

0 commit comments

Comments
 (0)