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 2022-05-11 10:08:04 +02:00
parent a4acd0efac
commit 33325c1690
2 changed files with 2 additions and 2 deletions

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)

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)