Ensure atdna is found when using pre-built copy

This commit is contained in:
Henrique Gemignani Passos Lima 2022-03-12 21:45:17 +02:00
parent cf41841f1d
commit a342859b51
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 1 additions and 0 deletions

View File

@ -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)