diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-09-29 14:51:50 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-09-29 14:51:50 +1000 |
commit | 3c89d309efd16ec283c733fb540c55e0664aa17c (patch) | |
tree | a2785d0f3d4d5672a5ee766ffd9834fb50151570 | |
parent | 8813aaadf4a44667b95cda601e263ac540759fd9 (diff) |
[cmake] add EXCLUDE_FROM_ALL when adding to build_internal_depends
-rw-r--r-- | cmake/modules/FindCrossGUID.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindFmt.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindNFS.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindPCRE.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindSpdlog.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindTagLib.cmake | 1 | ||||
-rw-r--r-- | cmake/modules/FindTinyXML2.cmake | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/cmake/modules/FindCrossGUID.cmake b/cmake/modules/FindCrossGUID.cmake index 90d14c466e..38444f4433 100644 --- a/cmake/modules/FindCrossGUID.cmake +++ b/cmake/modules/FindCrossGUID.cmake @@ -116,6 +116,7 @@ if(NOT TARGET CrossGUID::CrossGUID) if(_multiconfig_generator) if(NOT TARGET crossguid) buildCrossGUID() + set_target_properties(crossguid PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends crossguid) endif() diff --git a/cmake/modules/FindFmt.cmake b/cmake/modules/FindFmt.cmake index 667605399a..0c26398219 100644 --- a/cmake/modules/FindFmt.cmake +++ b/cmake/modules/FindFmt.cmake @@ -133,6 +133,7 @@ if(NOT TARGET fmt::fmt OR Fmt_FIND_REQUIRED) if(_multiconfig_generator) if(NOT TARGET fmt) buildFmt() + set_target_properties(fmt PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends fmt) endif() diff --git a/cmake/modules/FindNFS.cmake b/cmake/modules/FindNFS.cmake index 8ea9681c23..f1528a188b 100644 --- a/cmake/modules/FindNFS.cmake +++ b/cmake/modules/FindNFS.cmake @@ -155,6 +155,7 @@ if(NOT TARGET libnfs::nfs) if(_multiconfig_generator) if(NOT TARGET libnfs) buildlibnfs() + set_target_properties(libnfs PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends libnfs) endif() diff --git a/cmake/modules/FindPCRE.cmake b/cmake/modules/FindPCRE.cmake index d499feedcb..3ef52a2f25 100644 --- a/cmake/modules/FindPCRE.cmake +++ b/cmake/modules/FindPCRE.cmake @@ -211,6 +211,7 @@ if(NOT PCRE::pcre) if(_multiconfig_generator) if(NOT TARGET pcre) buildPCRE() + set_target_properties(pcre PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends pcre) endif() diff --git a/cmake/modules/FindSpdlog.cmake b/cmake/modules/FindSpdlog.cmake index 6b77ebe24a..a4ff560efa 100644 --- a/cmake/modules/FindSpdlog.cmake +++ b/cmake/modules/FindSpdlog.cmake @@ -178,6 +178,7 @@ if(NOT TARGET spdlog::spdlog) if(_multiconfig_generator) if(NOT TARGET spdlog) buildSpdlog() + set_target_properties(spdlog PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends spdlog) endif() diff --git a/cmake/modules/FindTagLib.cmake b/cmake/modules/FindTagLib.cmake index 50c1a83f6b..e58723ba71 100644 --- a/cmake/modules/FindTagLib.cmake +++ b/cmake/modules/FindTagLib.cmake @@ -126,6 +126,7 @@ if(NOT TARGET TagLib::TagLib) if(_multiconfig_generator) if(NOT TARGET taglib) buildTagLib() + set_target_properties(taglib PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends taglib) endif() diff --git a/cmake/modules/FindTinyXML2.cmake b/cmake/modules/FindTinyXML2.cmake index 47f4f56687..a75c370f7e 100644 --- a/cmake/modules/FindTinyXML2.cmake +++ b/cmake/modules/FindTinyXML2.cmake @@ -148,6 +148,7 @@ if(NOT TARGET tinyxml2::tinyxml2) if(_multiconfig_generator) if(NOT TARGET tinyxml2) buildTinyXML2() + set_target_properties(tinyxml2 PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() add_dependencies(build_internal_depends tinyxml2) endif() |