mirror of https://github.com/encounter/SDL.git
cmake: append to CMAKE_MODULE_PATH instead of overwriting
This commit is contained in:
parent
a193a03d81
commit
70214ed3ed
|
@ -68,7 +68,8 @@ include(CMakeDependentOption)
|
|||
include(CMakePushCheckState)
|
||||
include(FindPkgConfig)
|
||||
include(GNUInstallDirs)
|
||||
set(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/sdlchecks.cmake)
|
||||
|
||||
|
|
Loading…
Reference in New Issue