mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 01:19:02 +08:00
19 lines
738 B
Diff
19 lines
738 B
Diff
|
diff --git a/common/cmake/package.cmake b/common/cmake/package.cmake
|
||
|
index 8c89f5b..55cb2af 100644
|
||
|
--- a/common/cmake/package.cmake
|
||
|
+++ b/common/cmake/package.cmake
|
||
|
@@ -114,10 +114,10 @@ ENDIF()
|
||
|
# SET(EMBREE_CMAKEEXPORT_DIR "cmake")
|
||
|
# SET(EMBREE_RELATIVE_ROOT_DIR ".")
|
||
|
#ELSE()
|
||
|
-SET(EMBREE_CMAKECONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/embree-${EMBREE_VERSION}")
|
||
|
-SET(EMBREE_CMAKEEXPORT_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/embree-${EMBREE_VERSION}")
|
||
|
+SET(EMBREE_CMAKECONFIG_DIR "share/embree")
|
||
|
+SET(EMBREE_CMAKEEXPORT_DIR "share/embree")
|
||
|
IF (WIN32)
|
||
|
- SET(EMBREE_RELATIVE_ROOT_DIR "../../../")
|
||
|
+ SET(EMBREE_RELATIVE_ROOT_DIR "../..")
|
||
|
ELSE()
|
||
|
FILE(RELATIVE_PATH EMBREE_RELATIVE_ROOT_DIR "/${EMBREE_CMAKECONFIG_DIR}" "/")
|
||
|
ENDIF()
|