Skip to content

Commit

Permalink
simbody workaround comment explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
talregev committed Aug 16, 2023
1 parent 2d49ed4 commit 6483a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/SearchForStuff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ if (PKG_CONFIG_FOUND)
#list(APPEND CMAKE_MODULE_PATH ${SimTK_INSTALL_PREFIX}/share/cmake)
find_package(Simbody)
if (Simbody_FOUND)
# When simbody is found but it don't define any libs, we should manually define the libs.
if ("${Simbody_LIBRARIES}" STREQUAL "" OR "${Simbody_LIBRARIES}" STREQUAL "Simbody_LIBRARIES-NOTFOUND")
set(Simbody_LIBRARIES SimTKmath SimTKcommon SimTKsimbody)
endif()
Expand Down

0 comments on commit 6483a50

Please sign in to comment.