fixed: use proper parameter to the find_package_handle_standard_args call

it needs to make the name of the find module. quells warnings
with newer cmake
This commit is contained in:
Arne Morten Kvarving committed 2022-05-11 10:52:02 +02:00
1 parent a4acd0efac
commit 33325c1690
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -8,5 +8,5 @@ set(ENV{PKG_CONFIG_PATH} ${OLD_PKG})
set(PETSC_LIBRARIES ${PETSC_STATIC_LDFLAGS})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PETSC DEFAULT_MSG
find_package_handle_standard_args(Petsc DEFAULT_MSG
PETSC_INCLUDE_DIRS PETSC_LIBRARIES)
+1 -1
View File
@@ -57,7 +57,7 @@ IF(VTFWRITER_INCLUDES)
ENDIF(VTFWRITER_INCLUDES)
INCLUDE(FindPackageHandleStandardArgs)
find_package_handle_standard_args(VTFWRITER DEFAULT_MSG
find_package_handle_standard_args(VTFWriter DEFAULT_MSG
VTFWRITER_INCLUDES VTFWRITER_LIBRARIES)
MARK_AS_ADVANCED(VTFAPI VTFWRITER_INCLUDES VTFWRITER_LIBRARIES)