We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac160ca + cc4a4a7 commit 6aa1f7eCopy full SHA for 6aa1f7e
CoreFoundation/CMakeLists.txt
@@ -589,6 +589,11 @@ install(TARGETS
589
CFURLSessionInterface
590
DESTINATION
591
"${CMAKE_INSTALL_FULL_LIBDIR}")
592
+
593
+# Needed to avoid double slash "//" when CMAKE_INSTALL_PREFIX set to "/" and DESTDIR used to relocate whole installation.
594
+# Double slash raise CMake error "file called with network path DESTINATION //System/Library/Frameworks".
595
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
596
597
install(DIRECTORY
598
${CoreFoundation_FRAMEWORK_DIRECTORY}
599
0 commit comments