aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2017-09-27 04:44:57 +0800
committerPaweł Bylica <chfast@gmail.com>2017-09-27 04:44:57 +0800
commitffd440ccffabebf161af7cc602fd0beb56350cda (patch)
treeae51fe015b67f3df69ab868a152c18a7e685a662 /cmake
parent6db13311dd6d9e9ebb10f6f5b34c5b326f69b390 (diff)
downloaddexon-solidity-ffd440ccffabebf161af7cc602fd0beb56350cda.tar.gz
dexon-solidity-ffd440ccffabebf161af7cc602fd0beb56350cda.tar.zst
dexon-solidity-ffd440ccffabebf161af7cc602fd0beb56350cda.zip
CMake: Cleanup include paths
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EthBuildInfo.cmake2
-rw-r--r--cmake/EthDependencies.cmake7
2 files changed, 1 insertions, 8 deletions
diff --git a/cmake/EthBuildInfo.cmake b/cmake/EthBuildInfo.cmake
index 1f70d371..cae3e5ce 100644
--- a/cmake/EthBuildInfo.cmake
+++ b/cmake/EthBuildInfo.cmake
@@ -39,5 +39,5 @@ function(create_build_info NAME)
-DPROJECT_VERSION="${PROJECT_VERSION}"
-P "${ETH_SCRIPTS_DIR}/buildinfo.cmake"
)
- include_directories(BEFORE ${PROJECT_BINARY_DIR})
+ include_directories("${PROJECT_BINARY_DIR}/include")
endfunction()
diff --git a/cmake/EthDependencies.cmake b/cmake/EthDependencies.cmake
index 1204f186..233ac22a 100644
--- a/cmake/EthDependencies.cmake
+++ b/cmake/EthDependencies.cmake
@@ -48,10 +48,3 @@ option(Boost_USE_STATIC_LIBS "Link Boost statically" ON)
find_package(Boost 1.54.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options system)
eth_show_dependency(Boost boost)
-
-if (APPLE)
- link_directories(/usr/local/lib)
- include_directories(/usr/local/include)
-endif()
-
-include_directories(BEFORE "${PROJECT_BINARY_DIR}/include")