mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-03 11:53:41 +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}
|
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()
|
endmacro()
|
||||||
|
|
||||||
macro(buildLocal src)
|
macro(buildLocal src)
|
||||||
message ("Using local libeoskeygen at: ${src}")
|
message ("Using local libeoskeygen at: ${src}")
|
||||||
add_subdirectory(${src} ${src}/build)
|
add_subdirectory(${src} ${src}/build EXCLUDE_FROM_ALL)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# If we have a local libeoskeygen
|
# If we have a local libeoskeygen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue