This commit is contained in:
2024-11-21 17:45:52 +01:00
parent 0767278d7c
commit f57d7a8d8a
2 changed files with 3 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ if(WIN32)
endif()
elseif(APPLE)
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
target_link_libraries(LotoStatek sfml-graphics)
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
elseif(LINUX)
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
target_link_libraries(LotoStatek sfml-graphics)
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
endif()

View File

@@ -14,7 +14,7 @@ int main()
window.setVerticalSyncEnabled(true);
window.setFramerateLimit(60);
Background background("../assets/img/space.png ", 2.0f); //tutaj predkosc tla, mozna zwiekszyc jak za wolno
Background background("../assets/img/space.png", 2.0f); //tutaj predkosc tla, mozna zwiekszyc jak za wolno
AudioManager audioManager;