mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
32 lines
962 B
Diff
32 lines
962 B
Diff
From 230fa21d8a37eb1696f96e407707221c7d00d35e Mon Sep 17 00:00:00 2001
|
|
From: Leon Marz <main@lmarz.org>
|
|
Date: Wed, 28 Sep 2022 16:01:51 +0200
|
|
Subject: [PATCH 1/2] remove rpath
|
|
|
|
---
|
|
CMakeLists.txt | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 8616b2f..d55c1f4 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -141,6 +141,7 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Intel")
|
|
endif()
|
|
|
|
|
|
+if (false)
|
|
if (NOT CMAKE_COMPILER_IS_ICC)
|
|
# Currently icc has a bug that asserts when linking rpaths containing long
|
|
# sequences of ':' that this command causes. The consequence is that examples
|
|
@@ -152,6 +153,7 @@ endif()
|
|
# add the automatically determined parts of the RPATH
|
|
# which point to directories outside the build tree to the install RPATH
|
|
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
|
+endif()
|
|
|
|
# ensure that ARC is shown as enabled in the Xcode UI
|
|
if(CMAKE_GENERATOR STREQUAL "Xcode")
|
|
--
|
|
2.37.3
|
|
|