cmake: include FIndPkgConfig.cmake through find_package
parent
cfa76973ff
commit
500bac0b13
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue