aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2014-12-06 00:00:26 +0800
committerdebris <marek.kotewicz@gmail.com>2014-12-06 00:00:26 +0800
commit53e0ff10f5bbe9c469633c2f3e2a22bd1373379e (patch)
tree3b3f1736dc0178a269a665d8fdf6ddea9694db00 /CMakeLists.txt
parentfa43a0ee959d83959467bb5d08660756c33da682 (diff)
downloaddexon-solidity-53e0ff10f5bbe9c469633c2f3e2a22bd1373379e.tar.gz
dexon-solidity-53e0ff10f5bbe9c469633c2f3e2a22bd1373379e.tar.zst
dexon-solidity-53e0ff10f5bbe9c469633c2f3e2a22bd1373379e.zip
solidity compiling on windows, fixed Compiler Error C2797
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 260493b0..8522130e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
aux_source_directory(. SRC_LIST)
+include_directories(${Boost_INCLUDE_DIRS})
+include_directories(..)
+
set(EXECUTABLE solidity)
file(GLOB HEADERS "*.h")
@@ -14,8 +17,6 @@ else()
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
endif()
-include_directories(..)
-
target_link_libraries(${EXECUTABLE} evmcore devcore)
install( TARGETS ${EXECUTABLE} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )