1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-03 11:53:41 +02:00

CMake: bundle eosio-extras on windows.

This commit is contained in:
Henrik Hautakoski 2020-04-27 11:56:32 +02:00
parent e20023cf31
commit 282028793b

View file

@ -91,6 +91,12 @@ add_compile_options(
configure_file(config.hpp.in "${PROJECT_BINARY_DIR}/config.hpp" @ONLY) configure_file(config.hpp.in "${PROJECT_BINARY_DIR}/config.hpp" @ONLY)
include_directories(${PROJECT_BINARY_DIR}) include_directories(${PROJECT_BINARY_DIR})
# Bundle eosio-extras on windows.
if (WIN32)
include(extras)
list(APPEND components extras )
endif()
# -------------------------------- # --------------------------------
# Package # Package
# -------------------------------- # --------------------------------
@ -113,7 +119,9 @@ configure_file(cmake/CPackProperties.cmake.in ${CPACK_PROPERTIES_FILE} @ONLY)
add_subdirectory( common ) add_subdirectory( common )
foreach(comp ${components}) foreach(comp ${components})
if ( EXISTS ${CMAKE_CURRENT_LIST_DIR}/${comp} )
add_subdirectory( ${comp} ) add_subdirectory( ${comp} )
endif()
endforeach() endforeach()
# -------------------------------- # --------------------------------