mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-20 07:14:13 +02:00
Merge pull request #838 from arummler/avoid-lib-installation
Do not install PugiXML and Googletest static libraries.
This commit is contained in:
@@ -26,7 +26,7 @@ if(BUILD_PUGIXML)
|
||||
pugixml
|
||||
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
||||
GIT_TAG v1.15)
|
||||
|
||||
set(PUGIXML_INSTALL OFF CACHE INTERNAL "")
|
||||
FetchContent_MakeAvailable(pugixml)
|
||||
else()
|
||||
find_package(pugixml REQUIRED)
|
||||
|
||||
@@ -65,7 +65,7 @@ FetchContent_Declare(
|
||||
GTest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG release-1.10.0)
|
||||
|
||||
set(INSTALL_GTEST OFF CACHE INTERNAL "")
|
||||
FetchContent_MakeAvailable(GTest)
|
||||
|
||||
include(../../cmake/fetch_kdeaddons.cmake)
|
||||
|
||||
@@ -65,7 +65,7 @@ FetchContent_Declare(
|
||||
GTest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG v1.17.0)
|
||||
|
||||
set(INSTALL_GTEST OFF CACHE INTERNAL "")
|
||||
FetchContent_MakeAvailable(GTest)
|
||||
|
||||
include(../../cmake/fetch_kdeaddons.cmake)
|
||||
|
||||
Reference in New Issue
Block a user