mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
cmake: add /usr/local/include to check include directories
This commit is contained in:
@@ -203,6 +203,11 @@ elseif(NINTENDO_3DS)
|
|||||||
set(N3DS TRUE)
|
set(N3DS TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(FREEBSD OR NETBSD OR OPENBSD OR BSDI)
|
||||||
|
list(APPEND CMAKE_REQUIRED_INCLUDES /usr/local/include)
|
||||||
|
list(APPEND CMAKE_REQUIRED_LINK_OPTIONS "-L/usr/local/lib")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Don't mistake osx for unix
|
# Don't mistake osx for unix
|
||||||
if(UNIX AND NOT ANDROID AND NOT APPLE AND NOT RISCOS)
|
if(UNIX AND NOT ANDROID AND NOT APPLE AND NOT RISCOS)
|
||||||
set(UNIX_SYS ON)
|
set(UNIX_SYS ON)
|
||||||
|
|||||||
Reference in New Issue
Block a user