File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_mixer-shared-targets.cmake")
54
54
endif ()
55
55
56
56
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} " )
57
59
58
60
include (CMakeFindDependencyMacro )
59
61
include (PkgConfigHelper )
@@ -106,6 +108,9 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_mixer-static-targets.cmake")
106
108
find_dependency (wavpack )
107
109
endif ()
108
110
111
+ set (CMAKE_MODULE_PATH "${_sdl_cmake_module_path} " )
112
+ unset (_sdl_cmake_module_path )
113
+
109
114
if ((NOT SDL2MIXER_VENDORED AND SDL2MIXER_MOD_MODPLUG ) OR (HAIKU AND SDL2MIXER_MIDI_NATIVE ))
110
115
include (CheckLanguage )
111
116
check_language (CXX )
You can’t perform that action at this time.
0 commit comments