Skip to content

Commit 462c1aa

Browse files
committed
Adjust check for PLIEF being set
1 parent c5c2de9 commit 462c1aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CMake/FinalizeInstall.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function(bext_run_binary_clear files)
9898
endfunction()
9999

100100
function(bext_run_rpath_update files)
101-
if (NOT files OR NOT DEFINED BEXT_PLIEF OR "${BEXT_PLIEF}" STREQUAL "")
101+
if (NOT files OR NOT BEXT_PLIEF)
102102
return()
103103
endif ()
104104

@@ -264,7 +264,7 @@ endif ()
264264
set(rpath_files)
265265
set(binary_files)
266266
if (binary_probe_files)
267-
if (DEFINED BEXT_PLIEF AND NOT "${BEXT_PLIEF}" STREQUAL "")
267+
if (BEXT_PLIEF)
268268
execute_process(
269269
COMMAND "${BEXT_PLIEF}" --help
270270
RESULT_VARIABLE plief_help_result
@@ -384,7 +384,7 @@ foreach(relative ${rpath_files})
384384
endforeach()
385385
set(binary_cleanup_paths ${binary_paths})
386386
if ("${BEXT_SYSTEM_NAME}" STREQUAL "Darwin" AND
387-
(NOT DEFINED BEXT_PLIEF OR "${BEXT_PLIEF}" STREQUAL ""))
387+
NOT BEXT_PLIEF)
388388
# Without plief, preserve Mach-O RPATH load commands for BRL-CAD's
389389
# install_name_tool staging pass.
390390
set(binary_cleanup_paths)

0 commit comments

Comments
 (0)