Skip to content

Commit

Permalink
Merge pull request #5 from rosym-project/fix-config-cmake2
Browse files Browse the repository at this point in the history
Fix package registry
  • Loading branch information
svenschneider authored Sep 21, 2020
2 parents 6537532 + e2f6aa5 commit 104630c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions cmake/PackageRegistry.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ function(REGISTER_PACKAGE)
)

# Install the export set for use with the install-tree
foreach(library ${REGISTER_PACKAGE_LIBRARIES})
install(EXPORT ${library}-targets
DESTINATION ${CMAKE_DIR}
)
endforeach()
install(EXPORT ${PROJECT_NAME}-targets
DESTINATION ${CMAKE_DIR}
)
endfunction()
2 changes: 1 addition & 1 deletion src/nbx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(ENABLE_BULLET)

install(
TARGETS sim2b_bullet
EXPORT sim2b_bullet-targets
EXPORT sim2b-targets
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
Expand Down

0 comments on commit 104630c

Please sign in to comment.