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
1 changed files with 2 additions and 1 deletions

View File

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