Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-07-08 12:04:49 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-07-08 13:35:56 +0300
commit643196cc375cdaf31c3fa937ba50751376730f8b (patch)
treef59ce8d94e6b58266123be2851cd45785c2f377c /build_files/cmake
parent45004d82e04d8cdd9cc57fc5ee2b243f8bfd7ee3 (diff)
CMake: Fix spelling of Embree passed to find package
The spelling and capitalization of package name passed to find_package() and find_package_handle_standard_args() needs to match. Silences CMake warning about mismatch. Differential Revision: https://developer.blender.org/D8247
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/Modules/FindEmbree.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/Modules/FindEmbree.cmake b/build_files/cmake/Modules/FindEmbree.cmake
index d9d525d4586..fa613f62308 100644
--- a/build_files/cmake/Modules/FindEmbree.cmake
+++ b/build_files/cmake/Modules/FindEmbree.cmake
@@ -82,7 +82,7 @@ FIND_LIBRARY(EMBREE_LIBRARY
# handle the QUIETLY and REQUIRED arguments and set EMBREE_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(EMBREE DEFAULT_MSG
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Embree DEFAULT_MSG
_embree_LIBRARIES EMBREE_INCLUDE_DIR)
IF(EMBREE_FOUND)