Skip to content
Snippets Groups Projects
Commit d045dba2 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix framework detection

parent 645600fe
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)
# we need getdp framework
find_path(GETDP_FRAMEWORK GetDP.framework)
if(GETDP_FRAMEWORK)
set(GETDP_FRAMEWORK ${GETDP_FRAMEWORK}/)
set(GETDP_FRAMEWORK ${GETDP_FRAMEWORK}/GetDP.framework)
message(STATUS "Found " ${GETDP_FRAMEWORK})
else(GETDP_FRAMEWORK)
message(SEND_ERROR "Could not find GetDP.framework")
......@@ -42,7 +42,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS)
# we also need gmsh framework
find_path(GMSH_FRAMEWORK Gmsh.framework)
if(GMSH_FRAMEWORK)
set(GMSH_FRAMEWORK ${GMSH_FRAMEWORK}/)
set(GMSH_FRAMEWORK ${GMSH_FRAMEWORK}/Gmsh.framework)
message(STATUS "Found " ${GMSH_FRAMEWORK})
else(GMSH_FRAMEWORK)
message(SEND_ERROR "Could not find Gmsh.framework")
......@@ -50,7 +50,7 @@ if(ENABLE_BUILD_IOS_EMULATOR OR ENABLE_BUILD_IOS)
# and we also need PETSc
find_path(PETSC_FRAMEWORK petsc.framework)
if(PETSC_FRAMEWORK)
set(PETSC_FRAMEWORK ${PETSC_FRAMEWORK}/)
set(PETSC_FRAMEWORK ${PETSC_FRAMEWORK}/petsc.framework)
message(STATUS "Found " ${PETSC_FRAMEWORK})
else(PETSC_FRAMEWORK)
message(SEND_ERROR "Could not find petsc.framework")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment