diff options
author | subtly <subtly@users.noreply.github.com> | 2014-02-08 21:47:26 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-02-08 21:47:26 +0800 |
commit | 0e9e98a3bc6473d11134390bc9b8eb1b481c18ee (patch) | |
tree | 969eb9d01e8268c01be8d204c7a20030560109c6 /CMakeLists.txt | |
parent | 215c56965637a41e3d9deefc4fe2bb373ba9eaae (diff) | |
download | dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.gz dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.bz2 dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.lz dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.xz dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.tar.zst dexon-solidity-0e9e98a3bc6473d11134390bc9b8eb1b481c18ee.zip |
cmake updates for building on osx
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
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) |