CMake: Remove Superbuild-specific install rule guard

This commit is contained in:
Andrew Kaster 2024-06-05 18:24:39 -06:00
parent f55f64755d
commit 41176a4f4e
Notes: sideshowbarker 2024-07-17 07:06:47 +09:00

View file

@ -1,11 +1,5 @@
include_guard()
# Skip trying to setup install rules if no languages are enabled, such as in the Superbuild.
get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES)
if (NONE IN_LIST languages)
return()
endif()
include(GNUInstallDirs) # make sure to include before we mess w/RPATH
# Handle multi-config generators (e.g. MSVC, Xcode, Ninja Multi-Config)