mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Revert "CMake: set default RUNTIME_OUTPUT_DIRECTORY property to "bin""
This commit is contained in:
parent
0dc7c96307
commit
2654daab26
@ -19,10 +19,15 @@ set(EXECUTABLE evmasm)
|
|||||||
|
|
||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
|
|
||||||
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
if (ETH_STATIC)
|
||||||
|
add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
|
||||||
|
else()
|
||||||
|
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${EXECUTABLE} evmcore)
|
target_link_libraries(${EXECUTABLE} evmcore)
|
||||||
target_link_libraries(${EXECUTABLE} devcrypto)
|
target_link_libraries(${EXECUTABLE} devcrypto)
|
||||||
|
|
||||||
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
|
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
|
||||||
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )
|
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user