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
This commit is contained in:
Ankit Meel 2020-09-17 19:44:55 +05:30 committed by Ankit Meel
parent 3a92a2df45
commit f37c83a12b
1 changed files with 1 additions and 1 deletions

View File

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