Skip to content
Snippets Groups Projects
Commit ed96871c authored by Maxime Graulich's avatar Maxime Graulich
Browse files

iOS: fix include

parent d024cadc
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS) ...@@ -34,7 +34,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS)
# we need getdp framework # we need getdp framework
find_path(GETDP_FRAMEWORK GetDP.framework) find_path(GETDP_FRAMEWORK GetDP.framework)
if(GETDP_FRAMEWORK) if(GETDP_FRAMEWORK)
set(GETDP_FRAMEWORK ${GETDP_FRAMEWORK}/GetDP.framework) set(GETDP_FRAMEWORK ${GETDP_FRAMEWORK}/)
message(STATUS "Found " ${GETDP_FRAMEWORK}) message(STATUS "Found " ${GETDP_FRAMEWORK})
else(GETDP_FRAMEWORK) else(GETDP_FRAMEWORK)
message(SEND_ERROR "Could not find GetDP.framework") message(SEND_ERROR "Could not find GetDP.framework")
...@@ -42,7 +42,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS) ...@@ -42,7 +42,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS)
# we also need gmsh framework # we also need gmsh framework
find_path(GMSH_FRAMEWORK Gmsh.framework) find_path(GMSH_FRAMEWORK Gmsh.framework)
if(GMSH_FRAMEWORK) if(GMSH_FRAMEWORK)
set(GMSH_FRAMEWORK ${GMSH_FRAMEWORK}/Gmsh.framework) set(GMSH_FRAMEWORK ${GMSH_FRAMEWORK}/)
message(STATUS "Found " ${GMSH_FRAMEWORK}) message(STATUS "Found " ${GMSH_FRAMEWORK})
else(GMSH_FRAMEWORK) else(GMSH_FRAMEWORK)
message(SEND_ERROR "Could not find Gmsh.framework") message(SEND_ERROR "Could not find Gmsh.framework")
...@@ -50,7 +50,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS) ...@@ -50,7 +50,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS)
# and we also need PETSc # and we also need PETSc
find_path(PETSC_FRAMEWORK petsc.framework) find_path(PETSC_FRAMEWORK petsc.framework)
if(PETSC_FRAMEWORK) if(PETSC_FRAMEWORK)
set(PETSC_FRAMEWORK ${PETSC_FRAMEWORK}/petsc.framework) set(PETSC_FRAMEWORK ${PETSC_FRAMEWORK}/)
message(STATUS "Found " ${PETSC_FRAMEWORK}) message(STATUS "Found " ${PETSC_FRAMEWORK})
else(PETSC_FRAMEWORK) else(PETSC_FRAMEWORK)
message(SEND_ERROR "Could not find petsc.framework") message(SEND_ERROR "Could not find petsc.framework")
......
#include <stdlib.h>
#if !defined(BUILD_ANDROID) #if !defined(BUILD_ANDROID)
#define BUILD_IOS 1 #define BUILD_IOS 1
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment