cmake: include FIndPkgConfig.cmake through find_package

This commit is contained in:
Anonymous Maarten 2022-11-01 13:06:39 +01:00 committed by Anonymous Maarten
parent cfa76973ff
commit 500bac0b13

View File

@ -67,9 +67,10 @@ include(CheckCXXCompilerFlag)
include(CheckStructHasMember)
include(CMakeDependentOption)
include(CMakePushCheckState)
include(FindPkgConfig)
include(GNUInstallDirs)
find_package(PkgConfig)
list(APPEND CMAKE_MODULE_PATH "${SDL2_SOURCE_DIR}/cmake")
include(${SDL2_SOURCE_DIR}/cmake/macros.cmake)
include(${SDL2_SOURCE_DIR}/cmake/sdlchecks.cmake)