Explorar el Código

added bitcode ios

Maxim Petrovsky hace 7 años
padre
commit
b4c427912f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -119,6 +119,7 @@ IF (IOS)
   IF (NOT CMAKE_BUILD_TYPE)
     SET(CMAKE_BUILD_TYPE "Release")
   ENDIF (NOT CMAKE_BUILD_TYPE)
+  ADD_DEFINITIONS(-DENABLE_BITCODE)
 ENDIF (IOS)
 
 # Use subset of Windows.h
@@ -126,6 +127,7 @@ if (WIN32)
   ADD_DEFINITIONS( -DWIN32_LEAN_AND_MEAN )
 endif()
 
+
 IF(MSVC)
   OPTION( ASSIMP_INSTALL_PDB
     "Install MSVC debug files."