Commit d861eadc authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Workaround for SQLIte issues on Mac (CORACOOL-2885)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19957 4525493e-7705-40b1-a816-d608a930855b
parent cee0dd46
......@@ -22,9 +22,12 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(SQLite DEFAULT_MSG SQLITE_INCLUDE_DIR SQLITE_L
mark_as_advanced(SQLITE_FOUND SQLITE_INCLUDE_DIR SQLITE_LIBRARY SQLITE_EXECUTABLE)
if(SQLITE_LIBRARY)
get_filename_component(SQLITE_LIBRARY_DIRS ${SQLITE_LIBRARY} PATH)
set(SQLITE_LIBRARIES ${SQLITE_LIBRARY})
endif()
# Use a renamed copy of the SQLite library on MacOSX (CORALCOOL-2885)
IF(NOT CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
if(SQLITE_LIBRARY)
get_filename_component(SQLITE_LIBRARY_DIRS ${SQLITE_LIBRARY} PATH)
set(SQLITE_LIBRARIES ${SQLITE_LIBRARY})
endif()
ENDIF()
set(SQLITE_INCLUDE_DIRS ${SQLITE_INCLUDE_DIR})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment