Force installation of ClingTargets.cmake
This commit is contained in:
parent
cfb1293342
commit
fe00f3f462
|
@ -53,6 +53,8 @@ let
|
|||
|
||||
# https://github.com/root-project/root/commit/286d96b12aad8688b9d8e4b3b5df843dcfb716a8
|
||||
./fix-llvm-dylib-usage.patch
|
||||
|
||||
./force-install-cling-targets.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ python3 git cmake ];
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/tools/cling/cmake/modules/CMakeLists.txt b/tools/cling/cmake/modules/CMakeLists.txt
|
||||
--- a/tools/cling/cmake/modules/CMakeLists.txt
|
||||
+++ b/tools/cling/cmake/modules/CMakeLists.txt
|
||||
@@ -54,10 +54,8 @@ set(CLING_CONFIG_EXPORTS_FILE)
|
||||
|
||||
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
||||
get_property(cling_has_exports GLOBAL PROPERTY CLING_HAS_EXPORTS)
|
||||
- if(cling_has_exports)
|
||||
- install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR}
|
||||
- COMPONENT cling-cmake-exports)
|
||||
- endif()
|
||||
+ install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR}
|
||||
+ COMPONENT cling-cmake-exports)
|
||||
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClingConfig.cmake
|
Loading…
Reference in a new issue