aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-02-08 21:47:26 +0800
committersubtly <subtly@users.noreply.github.com>2014-02-08 21:47:26 +0800
commit0e9e98a3bc6473d11134390bc9b8eb1b481c18ee (patch)
tree969eb9d01e8268c01be8d204c7a20030560109c6 /CMakeLists.txt
parent215c56965637a41e3d9deefc4fe2bb373ba9eaae (diff)
downloaddexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.gz
dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.zst
dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.zip
cmake updates for building on osx
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 515004f6..a5581c13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,6 +10,10 @@ add_executable(testeth ${SRC_LIST})
find_package(Threads REQUIRED)
+if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ include_directories(/usr/local/include)
+endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+
target_link_libraries(testeth ethereum)
target_link_libraries(testeth secp256k1)
target_link_libraries(testeth miniupnpc)