aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-13 16:03:03 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-13 16:03:03 +0800
commit1a9e9a5f6b72764d30dfe5a61f1dff5d0f99fe22 (patch)
tree918031647edc53191446ee41d6df59e64a4904e0
parent1f6198a9ae6c67061d897d67a0d40a1c1806fdec (diff)
downloaddexon-solidity-1a9e9a5f6b72764d30dfe5a61f1dff5d0f99fe22.tar.gz
dexon-solidity-1a9e9a5f6b72764d30dfe5a61f1dff5d0f99fe22.tar.zst
dexon-solidity-1a9e9a5f6b72764d30dfe5a61f1dff5d0f99fe22.zip
fixed issue with including wrong json/json.h file
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ab8afcd7..6ba07f28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,11 +4,12 @@ aux_source_directory(. SRC_LIST)
list(REMOVE_ITEM SRC_LIST "./createRandomTest.cpp")
list(REMOVE_ITEM SRC_LIST "./checkRandomTest.cpp")
+include_directories(..)
+include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${CRYPTOPP_INCLUDE_DIRS})
-include_directories(${JSONCPP_INCLUDE_DIRS})
include_directories(${JSON_RPC_CPP_INCLUDE_DIRS})
-include_directories(..)
+
file(GLOB HEADERS "*.h")
add_executable(testeth ${SRC_LIST} ${HEADERS})