Skip to content

Commit

Permalink
Merge remote-tracking branch 'adnanmunawar/ambf-2.0' into ambf-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanmunawar committed Jan 7, 2022
2 parents d7d4531 + dfb6dc4 commit 10ee1f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AMBFConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ if(NOT TARGET AMBF AND NOT AMBF_BINARY_DIR)
endif()

# IMPORTED target created by AMBFTargets.cmake
set(AMBF_LIBRARY_DIRS "@CONF_LIBRARY_DIRS@")
set(AMBF_LIBRARIES "@CONF_LIBRARIES@")
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,12 @@ endif()
#

# export package for use from the build tree
export (TARGETS ambf_framework ${ADF_LOADER_LIBRARIES} bullet chai3d FILE ${PROJECT_BINARY_DIR}/AMBFTargets.cmake)
export (TARGETS ambf_framework ${ADF_LOADER_LIBRARIES} bullet chai3d glfw FILE ${PROJECT_BINARY_DIR}/AMBFTargets.cmake)
export (PACKAGE AMBF)

# configure package
set (CONF_INCLUDE_DIRS ${AMBF_INCLUDE_DIRS})
set (CONF_LIBRARY_DIRS ${AMBF_LIBRARY_DIRS})
set (CONF_LIBRARIES ${AMBF_LIBRARIES})
set (CONF_DEFINITIONS ${AMBF_DEFINITIONS} ${CHAI3D_DEFINITIONS} ${BULLET_DEFINITIONS} ${COMMON_DEFINITIONS})

Expand Down

0 comments on commit 10ee1f1

Please sign in to comment.