view dev/llvm/patch-fhs.patch @ 1181:0728f1d39ad9

core/acl: add PKGWWW and PKGPRESERVE
author David Demelier <markand@malikania.fr>
date Fri, 25 Oct 2019 20:05:00 +0200
parents 4beb14cb5714
children
line wrap: on
line source

--- cmake/modules/CMakeLists.txt.orig	2019-10-14 13:50:28.147182824 +0200
+++ cmake/modules/CMakeLists.txt	2019-10-14 13:50:44.335183321 +0200
@@ -86,16 +86,6 @@
   )
 
 # Generate LLVMConfig.cmake for the install tree.
-set(LLVM_CONFIG_CODE "
-# Compute the installation prefix from this LLVMConfig.cmake file location.
-get_filename_component(LLVM_INSTALL_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)")
-# Construct the proper number of get_filename_component(... PATH)
-# calls to compute the installation prefix.
-string(REGEX REPLACE "/" ";" _count "${LLVM_INSTALL_PACKAGE_DIR}")
-foreach(p ${_count})
-  set(LLVM_CONFIG_CODE "${LLVM_CONFIG_CODE}
-get_filename_component(LLVM_INSTALL_PREFIX \"\${LLVM_INSTALL_PREFIX}\" PATH)")
-endforeach(p)
 set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/include")
 set(LLVM_CONFIG_INCLUDE_DIR "${LLVM_CONFIG_INCLUDE_DIRS}")
 set(LLVM_CONFIG_MAIN_INCLUDE_DIR "${LLVM_CONFIG_INCLUDE_DIRS}")