Skip to content

Commit 0e78b68

Browse files
committed
adding support for EMBREE_INCLUDE_DIRS and EMBREE_LIBRARY again to embree-config.cmake
1 parent ad35a67 commit 0e78b68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/cmake/embree-config.cmake

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
SET(EMBREE_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR}/@EMBREE_RELATIV_ROOT_DIR@)
55
GET_FILENAME_COMPONENT(EMBREE_ROOT_DIR "${EMBREE_ROOT_DIR}" ABSOLUTE)
66

7+
SET(EMBREE_INCLUDE_DIRS ${EMBREE_ROOT_DIR}/@CMAKE_INSTALL_INCLUDEDIR@)
8+
SET(EMBREE_LIBRARY ${EMBREE_ROOT_DIR}/@CMAKE_INSTALL_LIBDIR@/@EMBREE_LIBRARY_FULLNAME@)
9+
SET(EMBREE_LIBRARIES ${EMBREE_LIBRARY})
10+
711
MARK_AS_ADVANCED(embree_DIR)
812

913
SET(EMBREE_VERSION @EMBREE_VERSION@)

0 commit comments

Comments
 (0)