[Bf-blender-cvs] [f37c83a12bb] master: CMake/Potrace: Fix capitalization, silence warning.
Ankit Meel
noreply at git.blender.org
Thu Sep 17 16:15:41 CEST 2020
Commit: f37c83a12bb2c047fd2a430addc1402319d3135b
Author: Ankit Meel
Date: Thu Sep 17 19:44:55 2020 +0530
Branches: master
https://developer.blender.org/rBf37c83a12bb2c047fd2a430addc1402319d3135b
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
===================================================================
M build_files/cmake/Modules/FindPotrace.cmake
===================================================================
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)
More information about the Bf-blender-cvs
mailing list