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()