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.
1 parent 664c8a0 commit cc4a4a7Copy full SHA for cc4a4a7
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