Demonstrate failure

This commit is contained in:
Chris Thrasher 2024-11-19 13:52:32 -07:00
parent 444873d287
commit b4986140d0
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C
2 changed files with 2 additions and 5 deletions

View File

@ -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$<$<CONFIG:Debug>:Debug>")

View File

@ -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;