mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -184,7 +184,7 @@ message("GIT_COMMIT_SHA :" ${GIT_COMMIT_SHA})
|
|||||||
Include(FetchContent)
|
Include(FetchContent)
|
||||||
|
|
||||||
#ToDo De-Backer
|
#ToDo De-Backer
|
||||||
#set(BUILD_KF5_YES "YES")
|
set(BUILD_KF5_YES "YES")
|
||||||
|
|
||||||
if(DEFINED BUILD_KF5_YES)
|
if(DEFINED BUILD_KF5_YES)
|
||||||
|
|
||||||
@@ -195,11 +195,13 @@ if(DEFINED BUILD_KF5_YES)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
#---ToDo why you don't work :/
|
#---ToDo why you don't work :/
|
||||||
|
set(BUILD_TESTING "0")
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
kcoreaddons
|
kcoreaddons
|
||||||
GIT_REPOSITORY https://invent.kde.org/frameworks/kcoreaddons.git
|
GIT_REPOSITORY https://invent.kde.org/frameworks/kcoreaddons.git
|
||||||
GIT_TAG ${KF5_GIT_TAG})
|
GIT_TAG ${KF5_GIT_TAG})
|
||||||
FetchContent_MakeAvailable(kcoreaddons)
|
FetchContent_MakeAvailable(kcoreaddons)
|
||||||
|
unset(BUILD_TESTING)
|
||||||
#___ToDo
|
#___ToDo
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
|
|||||||
Reference in New Issue
Block a user