diff options
author | Ankit Meel <ankitm> | 2020-09-17 17:14:55 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-09-17 17:15:20 +0300 |
commit | f37c83a12bb2c047fd2a430addc1402319d3135b (patch) | |
tree | e3c83e34b50c7ac5dace85f8dacbfeaad38cea36 /build_files | |
parent | 3a92a2df451958d84989484c0c3766c759e03581 (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.cmake | 2 |
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) |