mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +03:00
cmake: set isystem flag for older cmake
This commit is contained in:
@@ -4,12 +4,7 @@ if (NOT SQLITE3_FOUND)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (NOT XCODE)
|
||||
include_directories(SYSTEM ${SQLITE3_INCLUDE_DIRS})
|
||||
else()
|
||||
# cmake doesn't think Xcode supports isystem
|
||||
set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -isystem ${SQLITE3_INCLUDE_DIRS}")
|
||||
endif()
|
||||
include_directories(SYSTEM ${SQLITE3_INCLUDE_DIRS})
|
||||
|
||||
# BSD has the _np funcs in a _np header
|
||||
CHECK_INCLUDE_FILE_CXX(pthread_np.h HAVE_PTHREAD_NP_H)
|
||||
|
Reference in New Issue
Block a user