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 23:57:17 +01:00
parent 0207390ced
commit d2fb0d8ad1
4 changed files with 8 additions and 0 deletions

View File

@@ -84,11 +84,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(

View File

@@ -84,11 +84,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(

View File

@@ -84,11 +84,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(

View File

@@ -79,11 +79,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(