Modules/Find*: Include FindPackageHandleStandardArgs normally

Since commit d74210a8bd (CMP0017: Remove support for OLD behavior,
2024-11-17) we can rely on CMP0017's NEW behavior unconditionally.
Calling `include(FindPackageHandleStandardArgs)` in a builtin module
will always get the builtin `FindPackageHandleStandardArgs`.
This commit is contained in:
Brad King
2025-01-29 15:10:33 -05:00
parent 78bc455454
commit 7afa58b15d
135 changed files with 136 additions and 136 deletions

View File

@@ -64,7 +64,7 @@ if(SQLite3_INCLUDE_DIR)
unset(_ver_line)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SQLite3
REQUIRED_VARS SQLite3_INCLUDE_DIR SQLite3_LIBRARY
VERSION_VAR SQLite3_VERSION)