15 lines
763 B
Diff
15 lines
763 B
Diff
diff --git KF5AuthConfig.cmake.in KF5AuthConfig.cmake.in
|
|
index 0895e60..59fe53b 100644
|
|
--- KF5AuthConfig.cmake.in
|
|
+++ KF5AuthConfig.cmake.in
|
|
@@ -17,8 +17,8 @@ include("${CMAKE_CURRENT_LIST_DIR}/KF5AuthMacros.cmake")
|
|
|
|
if(NOT "${KAUTH_BACKEND_NAME}" STREQUAL "FAKE")
|
|
if(CMAKE_CROSSCOMPILING AND KF5_HOST_TOOLING)
|
|
- find_file(TARGETSFILE KF5Auth/KF5AuthToolsTargets.cmake PATHS ${KF5_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH)
|
|
- include("${TARGETSFILE}")
|
|
+ find_file(TARGETSFILE_AUTH KF5Auth/KF5AuthToolsTargets.cmake PATHS ${KF5_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH)
|
|
+ include("${TARGETSFILE_AUTH}")
|
|
else()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/KF5AuthToolsTargets.cmake")
|
|
endif()
|