mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-09 17:18:18 +00:00
libarchive: Suppress upstream preference for MacPorts over macOS SDK
This commit is contained in:
committed by
Alex Overchenko
parent
e07d0dacc9
commit
24cb39e081
@@ -44,9 +44,11 @@ ENDIF(NOT "${CMAKE_BUILD_TYPE_UPPER}"
|
||||
MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL|NONE)\$")
|
||||
ENDIF()
|
||||
|
||||
if(0) # XXX(cmake): not needed for build within cmake
|
||||
# On MacOS, prefer MacPorts libraries to system libraries.
|
||||
# I haven't come up with a compelling argument for this to be conditional.
|
||||
list(APPEND CMAKE_PREFIX_PATH /opt/local)
|
||||
endif() # XXX(cmake): end
|
||||
# Enable @rpath in the install name.
|
||||
# detail in "cmake --help-policy CMP0042"
|
||||
SET(CMAKE_MACOSX_RPATH ON)
|
||||
|
||||
Reference in New Issue
Block a user