Skip to content

Commit

Permalink
Add workaround for conda-forge/cmake-feedstock#129
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 29, 2020
1 parent 72f4062 commit f252244
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/GazeboUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ macro (BUILD_ERROR)
foreach (str ${ARGN})
SET (msg "\t${str}")
MESSAGE (STATUS ${msg})
APPEND_TO_CACHED_LIST(build_errors "build errors" ${msg})
APPEND_TO_CACHED_LIST(build_errors "build errors" ${msgf})
endforeach ()
endmacro (BUILD_ERROR)

Expand Down Expand Up @@ -147,6 +147,8 @@ endmacro ()
macro (gz_setup_unix)
# Using dynamic linking in UNIX by default
set(BUILD_SHARED_LIBS TRUE)
# Workaround for https://github.com/conda-forge/cmake-feedstock/issues/129
add_link_options("-L${CMAKE_INSTALL_PREFIX}/lib")
endmacro()

#################################################
Expand Down

0 comments on commit f252244

Please sign in to comment.