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:
authorAnkit Meel <ankitm>2020-09-17 17:14:55 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-09-17 17:15:20 +0300
commitf37c83a12bb2c047fd2a430addc1402319d3135b (patch)
treee3c83e34b50c7ac5dace85f8dacbfeaad38cea36 /build_files
parent3a92a2df451958d84989484c0c3766c759e03581 (diff)
CMake/Potrace: Fix capitalization, silence warning.
The `find_package()` callers expect the library name as `Potrace`, not `POTRACE`. Reviewed By: LazyDodo Differential Revision: https://developer.blender.org/D8923
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/Modules/FindPotrace.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/Modules/FindPotrace.cmake b/build_files/cmake/Modules/FindPotrace.cmake
index 5b6e68b7f5c..891a903af9f 100644
--- a/build_files/cmake/Modules/FindPotrace.cmake
+++ b/build_files/cmake/Modules/FindPotrace.cmake
@@ -51,7 +51,7 @@ FIND_LIBRARY(POTRACE_LIBRARY
# handle the QUIETLY and REQUIRED arguments and set POTRACE_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(POTRACE DEFAULT_MSG
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Potrace DEFAULT_MSG
POTRACE_LIBRARY POTRACE_INCLUDE_DIR)
IF(POTRACE_FOUND)