aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GlobalConfig.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index cc44efdd0b..1db0025daa 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -142,13 +142,13 @@ endif()
if (NOT BUILD_PIPE_ONLY)
# cxxopts (Alternative to boost::program_options)
- find_path(CXXOPTS_INCLUDE cxxopts/cxxopts.hpp PATHS third-party)
+ find_path(CXXOPTS_INCLUDE cxxopts/cxxopts.hpp PATHS third-party NO_CMAKE_FIND_ROOT_PATH)
include_directories(SYSTEM "${CXXOPTS_INCLUDE}")
endif()
if (NOT BUILD_PIPE_ONLY)
# ghc (Alternative to boost::filesystem)
- find_path(GHC_INCLUDE ghc/filesystem.hpp PATHS third-party)
+ find_path(GHC_INCLUDE ghc/filesystem.hpp PATHS third-party NO_CMAKE_FIND_ROOT_PATH)
include_directories(SYSTEM "${GHC_INCLUDE}")
endif()