Skip to content

Commit 0756869

Browse files
committed
cmake: don't clear CMAKE_MODULE_PATH in SDL2_mixerConfig.cmake
1 parent b6bf7e9 commit 0756869

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

SDL2_mixerConfig.cmake.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_mixer-shared-targets.cmake")
5454
endif()
5555

5656
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_mixer-static-targets.cmake")
57-
set(_sdl_cmake_module_path "${CMAKE_MODULE_PATH}")
58-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
59-
6057
include(CMakeFindDependencyMacro)
6158
include(PkgConfigHelper)
6259

@@ -108,9 +105,6 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_mixer-static-targets.cmake")
108105
find_dependency(wavpack)
109106
endif()
110107

111-
set(CMAKE_MODULE_PATH "${_sdl_cmake_module_path}")
112-
unset(_sdl_cmake_module_path)
113-
114108
if((NOT SDL2MIXER_VENDORED AND SDL2MIXER_MOD_MODPLUG) OR (HAIKU AND SDL2MIXER_MIDI_NATIVE))
115109
include(CheckLanguage)
116110
check_language(CXX)

0 commit comments

Comments
 (0)