Skip to content

Commit

Permalink
adding support for EMBREE_INCLUDE_DIRS and EMBREE_LIBRARY again to em…
Browse files Browse the repository at this point in the history
…bree-config.cmake
  • Loading branch information
svenwoop committed May 14, 2020
1 parent ad35a67 commit 0e78b68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/cmake/embree-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
SET(EMBREE_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR}/@EMBREE_RELATIV_ROOT_DIR@)
GET_FILENAME_COMPONENT(EMBREE_ROOT_DIR "${EMBREE_ROOT_DIR}" ABSOLUTE)

SET(EMBREE_INCLUDE_DIRS ${EMBREE_ROOT_DIR}/@CMAKE_INSTALL_INCLUDEDIR@)
SET(EMBREE_LIBRARY ${EMBREE_ROOT_DIR}/@CMAKE_INSTALL_LIBDIR@/@EMBREE_LIBRARY_FULLNAME@)
SET(EMBREE_LIBRARIES ${EMBREE_LIBRARY})

MARK_AS_ADVANCED(embree_DIR)

SET(EMBREE_VERSION @EMBREE_VERSION@)
Expand Down

0 comments on commit 0e78b68

Please sign in to comment.