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
This commit is contained in:
Sergey Sharybin 2020-07-08 11:04:49 +02:00
parent 45004d82e0
commit 643196cc37
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -133,9 +133,9 @@ if(CYCLES_STANDALONE_REPOSITORY)
set(BOOST_DEFINITIONS "-DBOOST_ALL_NO_LIB")
####
# embree
# Embree
if(WITH_CYCLES_EMBREE)
find_package(embree 3.8.0 REQUIRED)
find_package(Embree 3.8.0 REQUIRED)
endif()
####