diff -r 6a3dc15b78b9 -r 2003b466b279 QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Wed Aug 28 15:31:51 2024 +0200 +++ b/QTfrontend/CMakeLists.txt Wed Aug 28 15:34:49 2024 +0200 @@ -14,7 +14,12 @@ include(CheckLibraryExists) find_package(SDL2 REQUIRED CONFIG) -find_package(SDL2_mixer REQUIRED) #audio in SDLInteraction +if(WIN32 AND VCPKG_TOOLCHAIN) + find_package(SDL2_mixer REQUIRED CONFIG) #audio in SDLInteraction +else() + find_package(SDL2_mixer 2 REQUIRED) #audio in SDLInteraction +endif() + include_directories(${SDL2_INCLUDE_DIRS}) include_directories(${SDL2_MIXER_INCLUDE_DIRS})