mirror of https://github.com/AxioDL/metaforce.git
Ensure atdna is found when using pre-built copy
This commit is contained in:
parent
cf41841f1d
commit
a342859b51
|
@ -19,6 +19,7 @@ if (NOT BUILD_ATDNA)
|
||||||
message(STATUS "Fetching atdna host binary")
|
message(STATUS "Fetching atdna host binary")
|
||||||
FetchContent_Populate(athena-host)
|
FetchContent_Populate(athena-host)
|
||||||
include(${athena-host_SOURCE_DIR}/lib/cmake/atdna/atdnaConfig.cmake)
|
include(${athena-host_SOURCE_DIR}/lib/cmake/atdna/atdnaConfig.cmake)
|
||||||
|
set(atdna_DIR "${athena-host_SOURCE_DIR}/lib/cmake/atdna" PARENT_SCOPE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (BUILD_ATHENA OR BUILD_ATDNA)
|
if (BUILD_ATHENA OR BUILD_ATDNA)
|
||||||
|
|
Loading…
Reference in New Issue