From ad51a8793d07159b55cde8b5e6158ed251002492 Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Mon, 22 Oct 2018 19:47:16 -0400 Subject: [PATCH] Fix for macOS Homebrew Boost Includes --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b78249c..cfd607f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,11 @@ set(CMAKE_CXX_STANDARD 11) include(GNUInstallDirs) +# macOS Homebrew Boost Fix +if(NOT MSVC) + include_directories(AFTER /usr/local/include) +endif() + # Enable Warnings if(MSVC) # Force to always compile with W4