From 19adf47f52c7c74412082d86a524b20844d8c389 Mon Sep 17 00:00:00 2001 From: badaix Date: Fri, 27 Apr 2018 19:43:25 +0200 Subject: [PATCH] remove absolute include path --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00130d5e..3dbfa5ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ endif() include_directories("${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/externals/asio/asio/include" - "/usr/local/include" +# "/usr/local/include" ) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") @@ -102,7 +102,7 @@ else() message(FATAL_ERROR "Need to have asio installed") endif() -list(APPEND CMAKE_REQUIRED_INCLUDES "/usr/local/include") +#list(APPEND CMAKE_REQUIRED_INCLUDES "/usr/local/include") check_include_file_cxx(popl.hpp HAS_POPL_HPP -std=c++11) if(NOT HAS_POPL_HPP) message(FATAL_ERROR "Need to have popl installed")