From 3f2d8c57c1c0d56c8f52c94bcfd5cef2234c74e7 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 12 Sep 2021 01:17:09 -0600 Subject: [PATCH] build: fix finding embree license with mac package --- light/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/light/CMakeLists.txt b/light/CMakeLists.txt index 26b48559..71a1637c 100644 --- a/light/CMakeLists.txt +++ b/light/CMakeLists.txt @@ -63,11 +63,12 @@ if (embree_FOUND) find_file(EMBREE_LICENSE LICENSE.txt "${embree_DIR}/doc" + "${embree_DIR}/../../../doc" "${embree_DIR}/../embree3/embree3" # vcpkg puts it here "${embree_DIR}/../../.." # homebrew puts it here NO_DEFAULT_PATH) if (EMBREE_LICENSE STREQUAL EMBREE_LICENSE-NOTFOUND) - message(WARNING "Couldn't find embree license") + message(WARNING "Couldn't find embree license. embree_DIR is ${embree_DIR}") else() message(STATUS "Found embree license: ${EMBREE_LICENSE}") endif()