diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-08 12:04:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-08 13:35:56 +0300 |
commit | 643196cc375cdaf31c3fa937ba50751376730f8b (patch) | |
tree | f59ce8d94e6b58266123be2851cd45785c2f377c | |
parent | 45004d82e04d8cdd9cc57fc5ee2b243f8bfd7ee3 (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
-rw-r--r-- | build_files/cmake/Modules/FindEmbree.cmake | 2 | ||||
-rw-r--r-- | intern/cycles/cmake/external_libs.cmake | 4 |
2 files changed, 3 insertions, 3 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) diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake index 0b082b11cf7..b09f442bd16 100644 --- a/intern/cycles/cmake/external_libs.cmake +++ b/intern/cycles/cmake/external_libs.cmake @@ -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() #### |