We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c92e64 commit 55229b0Copy full SHA for 55229b0
Modules/Findjsonnet.cmake
@@ -40,7 +40,8 @@ if(${CMAKE_FIND_PACKAGE_NAME}_FOUND)
40
# On macOS, fix jsonnet libraries if they have incorrect install_name
41
if(APPLE)
42
foreach(_lib ${${CMAKE_FIND_PACKAGE_NAME}_LIBRARY}
43
- ${${CMAKE_FIND_PACKAGE_NAME}_CLIBRARY})
+ ${${CMAKE_FIND_PACKAGE_NAME}_CLIBRARY}
44
+ )
45
if(EXISTS "${_lib}")
46
# Get the library's current install_name
47
execute_process(
@@ -64,7 +65,7 @@ if(${CMAKE_FIND_PACKAGE_NAME}_FOUND)
64
65
"${_lib}"
66
RESULT_VARIABLE _fix_result
67
ERROR_QUIET
- )
68
69
if(NOT _fix_result EQUAL 0)
70
message(WARNING "Failed to fix install_name for ${_lib_name}")
71
endif()
@@ -85,4 +86,3 @@ if(${CMAKE_FIND_PACKAGE_NAME}_FOUND)
85
86
)
87
88
-
0 commit comments