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:
parent
e20023cf31
commit
282028793b
1 changed files with 9 additions and 1 deletions
|
|
@ -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})
|
||||||
add_subdirectory( ${comp} )
|
if ( EXISTS ${CMAKE_CURRENT_LIST_DIR}/${comp} )
|
||||||
|
add_subdirectory( ${comp} )
|
||||||
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue