diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-08-22 22:43:30 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2017-08-23 04:50:25 +0800 |
commit | 388fc983fa5480ec8498c399cf598991c63cfa22 (patch) | |
tree | 5fc1dd7ac4b2155ba26702d1026a039916229c40 | |
parent | 4974ff3962759a19150877b0e59e64319190ba1d (diff) | |
download | dexon-solidity-388fc983fa5480ec8498c399cf598991c63cfa22.tar.gz dexon-solidity-388fc983fa5480ec8498c399cf598991c63cfa22.tar.zst dexon-solidity-388fc983fa5480ec8498c399cf598991c63cfa22.zip |
CMake: Cleanup "local" include path
-rw-r--r-- | libdevcore/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libevmasm/CMakeLists.txt | 1 | ||||
-rw-r--r-- | liblll/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libsolidity/CMakeLists.txt | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/libdevcore/CMakeLists.txt b/libdevcore/CMakeLists.txt index 016d7ea3..b97866f4 100644 --- a/libdevcore/CMakeLists.txt +++ b/libdevcore/CMakeLists.txt @@ -4,5 +4,5 @@ file(GLOB headers "*.h") add_library(devcore ${sources} ${headers}) target_link_libraries(devcore PRIVATE ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads) target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS}) -target_include_directories(devcore PRIVATE ..) +target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}") add_dependencies(devcore solidity_BuildInfo.h) diff --git a/libevmasm/CMakeLists.txt b/libevmasm/CMakeLists.txt index 914339e7..5c945c7d 100644 --- a/libevmasm/CMakeLists.txt +++ b/libevmasm/CMakeLists.txt @@ -3,4 +3,3 @@ file(GLOB headers "*.h") add_library(evmasm ${sources} ${headers}) target_link_libraries(evmasm PUBLIC devcore jsoncpp) -target_include_directories(evmasm PUBLIC ..) diff --git a/liblll/CMakeLists.txt b/liblll/CMakeLists.txt index 1cc37da3..4cdc073a 100644 --- a/liblll/CMakeLists.txt +++ b/liblll/CMakeLists.txt @@ -3,4 +3,3 @@ file(GLOB headers "*.h") add_library(lll ${sources} ${headers}) target_link_libraries(lll PUBLIC evmasm devcore) -target_include_directories(lll PUBLIC ..) diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt index fd27a492..11fd6fe2 100644 --- a/libsolidity/CMakeLists.txt +++ b/libsolidity/CMakeLists.txt @@ -4,4 +4,3 @@ file(GLOB_RECURSE headers "*.h" "../libjulia/*.h") add_library(solidity ${sources} ${headers}) target_link_libraries(solidity PUBLIC evmasm devcore) -target_include_directories(solidity PUBLIC ..) |