Merge pull request #165 from reynhout/master

Add default MacPorts link_directories and include_directories config
This commit is contained in:
casey langen 2017-12-11 18:42:42 -08:00 committed by GitHub
commit e26d7174e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,9 +78,12 @@ include_directories (
)
# "/usr/local" doesn't seem to be included by default on macOS 10.12+
# "/opt/local" is the default installation location for MacPorts
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
link_directories ("/usr/local/lib")
include_directories("/usr/local/include")
link_directories ("/opt/local/lib")
include_directories("/opt/local/include")
endif ()
if (EXISTS "/etc/arch-release" OR EXISTS "/etc/manjaro-release" OR NO_NCURSESW)