aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-11 22:06:11 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-11 22:06:11 +0800
commitac5b3baa52e32846cd99c9667138ecafa4fce8d2 (patch)
tree3d161ec730719d56e4eef2a2327e330e43dae6d8 /CMakeLists.txt
parent8f53101f6f81260bf172495900c68cb7150974a9 (diff)
downloaddexon-solidity-ac5b3baa52e32846cd99c9667138ecafa4fce8d2.tar.gz
dexon-solidity-ac5b3baa52e32846cd99c9667138ecafa4fce8d2.tar.zst
dexon-solidity-ac5b3baa52e32846cd99c9667138ecafa4fce8d2.zip
fixed styling issues
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 44a7b9bb..0a0b62bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,15 +18,16 @@ include_directories(..)
set(EXECUTABLE solidity)
file(GLOB HEADERS "*.h")
-if(ETH_STATIC)
+
+if (ETH_STATIC)
add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
else()
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
endif()
+target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES})
target_link_libraries(${EXECUTABLE} evmcore)
target_link_libraries(${EXECUTABLE} devcore)
-target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES})
install( TARGETS ${EXECUTABLE} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )