Skip to content
Permalink
Browse files

add framework path to link test to fix OS X SDK problem

  • Loading branch information
kyngchaos committed Apr 3, 2013
1 parent 87572f7 commit 67a542bfd0d298532225fc082a8addf83869304d
Showing with 4 additions and 0 deletions.
  1. +4 −0 cmake/FindSPATIALITE.cmake
@@ -64,6 +64,10 @@ IF (SPATIALITE_FOUND)
ENDIF (NOT SPATIALITE_FIND_QUIETLY)

# Check for symbol gaiaDropTable
IF(APPLE)
# no extra LDFLAGS used in link test, may fail in OS X SDK
SET(CMAKE_REQUIRED_LIBRARIES "-F/Library/Frameworks" ${CMAKE_REQUIRED_LIBRARIES})
ENDIF(APPLE)
check_library_exists("${SPATIALITE_LIBRARY}" gaiaDropTable "" SPATIALITE_VERSION_GE_4_0_0)

ELSE (SPATIALITE_FOUND)

0 comments on commit 67a542b

Please sign in to comment.
You can’t perform that action at this time.