aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2015-08-27 18:19:33 +0800
committerdebris <marek.kotewicz@gmail.com>2015-08-27 18:19:33 +0800
commitf47ca4ad14dce9a1d7c576d410aca0750c171f11 (patch)
treed57c6366d3a195811e2c93abf6e9d947e0dbf2eb
parent6945c2eb898da72e434378bfa983b2875e8d94a7 (diff)
downloaddexon-solidity-f47ca4ad14dce9a1d7c576d410aca0750c171f11.tar.gz
dexon-solidity-f47ca4ad14dce9a1d7c576d410aca0750c171f11.tar.zst
dexon-solidity-f47ca4ad14dce9a1d7c576d410aca0750c171f11.zip
cmake refactor in progress
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21fc18f9..0b468d7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,9 +5,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
aux_source_directory(. SRC_LIST)
-include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
+#include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
include_directories(BEFORE ..)
-include_directories(${Boost_INCLUDE_DIRS})
+#include_directories(${Boost_INCLUDE_DIRS})
set(EXECUTABLE lll)
@@ -15,7 +15,8 @@ file(GLOB HEADERS "*.h")
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
-target_link_libraries(${EXECUTABLE} evmasm)
+eth_use(${EXECUTABLE} REQUIRED Eth::evmasm)
+#target_link_libraries(${EXECUTABLE} evmasm)
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )