12 lines
648 B
Diff
12 lines
648 B
Diff
--- a/KF6AuthConfig.cmake.in
|
|
+++ b/KF6AuthConfig.cmake.in
|
|
@@ -34,7 +34,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/KF6Au
|
|
|
|
if(NOT "${KAUTH_BACKEND_NAME}" STREQUAL "FAKE")
|
|
if(CMAKE_CROSSCOMPILING AND KF6_HOST_TOOLING)
|
|
- find_file(KAUTH_TARGETSFILE KF6Auth/KF6AuthToolsTargets.cmake PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH)
|
|
+ find_file(KAUTH_TARGETSFILE KF6Auth/KF6AuthToolsTargets.cmake PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
|
|
include("${KAUTH_TARGETSFILE}")
|
|
else()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/KF6AuthToolsTargets.cmake")
|