Fix stop the run autotests of kcoreaddons

see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98

issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
  Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
This commit is contained in:
Simon De Backer
2020-12-11 21:45:58 +01:00
parent 74b112a4bb
commit ce5cc25186

View File

@@ -184,7 +184,7 @@ message("GIT_COMMIT_SHA :" ${GIT_COMMIT_SHA})
Include(FetchContent)
#ToDo De-Backer
#set(BUILD_KF5_YES "YES")
set(BUILD_KF5_YES "YES")
if(DEFINED BUILD_KF5_YES)
@@ -195,11 +195,13 @@ if(DEFINED BUILD_KF5_YES)
endif()
#---ToDo why you don't work :/
set(BUILD_TESTING "0")
FetchContent_Declare(
kcoreaddons
GIT_REPOSITORY https://invent.kde.org/frameworks/kcoreaddons.git
GIT_TAG ${KF5_GIT_TAG})
FetchContent_MakeAvailable(kcoreaddons)
unset(BUILD_TESTING)
#___ToDo
FetchContent_Declare(