aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2018-04-16 18:16:04 +0800
committerPaweł Bylica <chfast@gmail.com>2018-04-16 18:16:04 +0800
commit1ca8aebf8e46ce2379dca81ec21087228287558e (patch)
tree8405d2d4cf9a457d25c407226ba22300ce090ce8 /libdevcore
parentcdb0bbb5ecbe3fe9b40559c7b84e0674d0023bbf (diff)
downloaddexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar.gz
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar.bz2
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar.lz
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar.xz
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.tar.zst
dexon-solidity-1ca8aebf8e46ce2379dca81ec21087228287558e.zip
CMake: Clean up devcore dependencies
Diffstat (limited to 'libdevcore')
-rw-r--r--libdevcore/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/libdevcore/CMakeLists.txt b/libdevcore/CMakeLists.txt
index d107f701..fa7e3f48 100644
--- a/libdevcore/CMakeLists.txt
+++ b/libdevcore/CMakeLists.txt
@@ -2,9 +2,7 @@ file(GLOB sources "*.cpp")
file(GLOB headers "*.h")
add_library(devcore ${sources} ${headers})
-target_link_libraries(devcore PRIVATE ${JSONCPP_LIBRARY} ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
-target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
+target_link_libraries(devcore PRIVATE jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
-target_include_directories(devcore PUBLIC "${JSONCPP_INCLUDE_DIR}")
-add_dependencies(devcore jsoncpp)
+target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
add_dependencies(devcore solidity_BuildInfo.h)