diff --git a/libevmasm/CMakeLists.txt b/libevmasm/CMakeLists.txt index 1accb8eae..424644cad 100644 --- a/libevmasm/CMakeLists.txt +++ b/libevmasm/CMakeLists.txt @@ -6,6 +6,7 @@ set(EXECUTABLE evmasm) file(GLOB HEADERS "*.h") +include_directories(BEFORE ..) add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) eth_use(${EXECUTABLE} REQUIRED Eth::evmcore) diff --git a/libevmasm/ConstantOptimiser.cpp b/libevmasm/ConstantOptimiser.cpp index 917bcd582..766371b0d 100644 --- a/libevmasm/ConstantOptimiser.cpp +++ b/libevmasm/ConstantOptimiser.cpp @@ -19,9 +19,9 @@ * @date 2015 */ -#include -#include -#include +#include +#include +#include using namespace std; using namespace dev; using namespace dev::eth; diff --git a/libevmasm/Version.cpp b/libevmasm/Version.cpp index 8d8b25d46..c13798480 100644 --- a/libevmasm/Version.cpp +++ b/libevmasm/Version.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include using namespace dev; using namespace std; diff --git a/liblll/CMakeLists.txt b/liblll/CMakeLists.txt index 0b468d7a8..734f6901d 100644 --- a/liblll/CMakeLists.txt +++ b/liblll/CMakeLists.txt @@ -6,13 +6,13 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB") aux_source_directory(. SRC_LIST) #include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS}) -include_directories(BEFORE ..) #include_directories(${Boost_INCLUDE_DIRS}) set(EXECUTABLE lll) file(GLOB HEADERS "*.h") +include_directories(BEFORE ..) add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) eth_use(${EXECUTABLE} REQUIRED Eth::evmasm) diff --git a/lllc/CMakeLists.txt b/lllc/CMakeLists.txt index 3a5b9c554..a94324322 100644 --- a/lllc/CMakeLists.txt +++ b/lllc/CMakeLists.txt @@ -3,6 +3,7 @@ aux_source_directory(. SRC_LIST) set(EXECUTABLE lllc) file(GLOB HEADERS "*.h") +include_directories(BEFORE ..) add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) eth_use(${EXECUTABLE} REQUIRED Eth::lll Dev::buildinfo)