Skip to content

Commit

Permalink
Fix working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jun 18, 2024
1 parent a904253 commit 4404578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindOpenMPMacOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function(patch_openmp_path_macos target target_default_output_name)
)
endif()

message(STATUS "Creating shared lib ${__LIBXGBOOST_FILENAME_${target}}...")
message(STATUS "Creating shared lib: ${__LIBXGBOOST_FILENAME_${target}}")

# Override the absolute path to OpenMP with a relative one using @rpath.
#
Expand All @@ -90,7 +90,7 @@ function(patch_openmp_path_macos target target_default_output_name)
${__OpenMP_LIBRARY_LOCATION}
"@rpath/${__OpenMP_LIBRARY_NAME}"
"${__LIBXGBOOST_FILENAME_${target}}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT
"${__LIBXGBOOST_FILENAME_${target}}: "
"Replacing hard-coded OpenMP install_name with '@rpath/${__OpenMP_LIBRARY_NAME}'..."
Expand Down

0 comments on commit 4404578

Please sign in to comment.