diff --git a/test/install/CMakeLists.txt b/test/install/CMakeLists.txt index eb6b168c7..11c5854bf 100644 --- a/test/install/CMakeLists.txt +++ b/test/install/CMakeLists.txt @@ -13,11 +13,11 @@ if(PROJECT_IS_TOP_LEVEL) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH) endif() - find_package(SFML 3.0.0 EXACT CONFIG REQUIRED COMPONENTS Graphics Network Audio) + find_package(SFML 3.0.0 EXACT CONFIG REQUIRED COMPONENTS Graphics Network) endif() add_executable(test-sfml-install Install.cpp) -target_link_libraries(test-sfml-install PRIVATE SFML::Graphics SFML::Network SFML::Audio) +target_link_libraries(test-sfml-install PRIVATE SFML::Graphics SFML::Network) if(SFML_USE_STATIC_STD_LIBS) set_target_properties(test-sfml-install PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") diff --git a/test/install/Install.cpp b/test/install/Install.cpp index bab2b5a0d..f3049f535 100644 --- a/test/install/Install.cpp +++ b/test/install/Install.cpp @@ -7,9 +7,6 @@ // Instantiate some types from each module to test for linker issues. This program is not meant be ran. int main() { - // Audio - [[maybe_unused]] const sf::SoundBufferRecorder soundBufferRecorder; - // Graphics [[maybe_unused]] const sf::Color color; [[maybe_unused]] const sf::IntRect rect;