mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
CMakeModules/libeoskeygen.cmake: call add_subdirectory() with EXCLUDE_FROM_ALL so we don't run all targets (install, cpack etc).
This commit is contained in:
parent
384ad2537b
commit
44a1ea16bd
1 changed files with 6 additions and 2 deletions
|
|
@ -18,12 +18,16 @@ macro(fromGit tag)
|
|||
GIT_TAG ${tag}
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(libeoskeygen)
|
||||
FetchContent_GetProperties(libeoskeygen)
|
||||
if (NOT libeoskeygen_POPULATED)
|
||||
FetchContent_Populate(libeoskeygen)
|
||||
add_subdirectory(${libeoskeygen_SOURCE_DIR} ${libeoskeygen_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
macro(buildLocal src)
|
||||
message ("Using local libeoskeygen at: ${src}")
|
||||
add_subdirectory(${src} ${src}/build)
|
||||
add_subdirectory(${src} ${src}/build EXCLUDE_FROM_ALL)
|
||||
endmacro()
|
||||
|
||||
# If we have a local libeoskeygen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue