tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Force installation of ClingTargets.cmake
thomasjm
2 years ago
fe00f3f4
cfb12933
+18
2 changed files
expand all
collapse all
unified
split
pkgs
development
interpreters
cling
default.nix
force-install-cling-targets.patch
+2
pkgs/development/interpreters/cling/default.nix
···
53
53
54
54
# https://github.com/root-project/root/commit/286d96b12aad8688b9d8e4b3b5df843dcfb716a8
55
55
./fix-llvm-dylib-usage.patch
56
56
+
57
57
+
./force-install-cling-targets.patch
56
58
];
57
59
58
60
nativeBuildInputs = [ python3 git cmake ];
+16
pkgs/development/interpreters/cling/force-install-cling-targets.patch
···
1
1
+
diff --git a/tools/cling/cmake/modules/CMakeLists.txt b/tools/cling/cmake/modules/CMakeLists.txt
2
2
+
--- a/tools/cling/cmake/modules/CMakeLists.txt
3
3
+
+++ b/tools/cling/cmake/modules/CMakeLists.txt
4
4
+
@@ -54,10 +54,8 @@ set(CLING_CONFIG_EXPORTS_FILE)
5
5
+
6
6
+
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
7
7
+
get_property(cling_has_exports GLOBAL PROPERTY CLING_HAS_EXPORTS)
8
8
+
- if(cling_has_exports)
9
9
+
- install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR}
10
10
+
- COMPONENT cling-cmake-exports)
11
11
+
- endif()
12
12
+
+ install(EXPORT ClingTargets DESTINATION ${CLING_INSTALL_PACKAGE_DIR}
13
13
+
+ COMPONENT cling-cmake-exports)
14
14
+
15
15
+
install(FILES
16
16
+
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClingConfig.cmake