diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b0d3a67c21c1..7cd52ad0e164b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ if(DEFINED ENV{INSTALL_PREFIX}) list(APPEND CMAKE_PREFIX_PATH "$ENV{INSTALL_PREFIX}") # Allow installed package headers to be picked up before brew/system package # headers - include_directories(BEFORE "$ENV{INSTALL_PREFIX}/include") + include_directories("$ENV{INSTALL_PREFIX}/include") endif() list(PREPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMake"