summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2024-07-26 14:52:10 +0200
committerSander Vrijders <[email protected]>2024-08-02 09:31:31 +0200
commitbbe6b76e391b52fcafe93220c628e45a0284da41 (patch)
tree876a090cb5c83d9bbde6f43412be3aeec77c3b51
parent2993bb58338dfcd8404fe8474d0addeb32480313 (diff)
downloadouroboros-bbe6b76e391b52fcafe93220c628e45a0284da41.tar.gz
ouroboros-bbe6b76e391b52fcafe93220c628e45a0284da41.zip
build: Include /usr/local/include/ on OS X
On OS X user-installed libraries (e.g. libtomlc99 used for the configfile) will have their headers in /usr/local/include/. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a259431..cfb0c0fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,6 +35,7 @@ endif ()
if (APPLE)
set(CMAKE_MACOSX_RPATH 1)
+ include_directories("/usr/local/include/")
endif()
if (CMAKE_INSTALL_PREFIX STREQUAL "/usr")