diff --git a/spine-sfml/c/CMakeLists.txt b/spine-sfml/c/CMakeLists.txt index 66afad2e6..f1fa62258 100644 --- a/spine-sfml/c/CMakeLists.txt +++ b/spine-sfml/c/CMakeLists.txt @@ -32,10 +32,10 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") ) endif() else() - set(SFML_URL "https://www.sfml-dev.org/files/SFML-2.5.1-windows-vc14-32-bit.zip") - set(SFML_DIR ${DEPS_DIR}/SFML-2.5.1) + set(SFML_URL "https://www.sfml-dev.org/files/SFML-2.6.1-windows-vc17-64-bit.zip") + set(SFML_DIR ${DEPS_DIR}/SFML-2.6.1) if (NOT EXISTS ${SFML_DIR}) - message("Downloading SFML for Windows 32-bit") + message("Downloading SFML for Windows 64-bit") file(DOWNLOAD "${SFML_URL}" "${DEPS_DIR}/sfml.zip") execute_process( COMMAND ${CMAKE_COMMAND} -E tar x ${DEPS_DIR}/sfml.zip diff --git a/spine-sfml/cpp/CMakeLists.txt b/spine-sfml/cpp/CMakeLists.txt index cc1c0c355..17bcdd168 100644 --- a/spine-sfml/cpp/CMakeLists.txt +++ b/spine-sfml/cpp/CMakeLists.txt @@ -30,10 +30,10 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") ) endif() else() - set(SFML_URL "https://www.sfml-dev.org/files/SFML-2.5.1-windows-vc14-32-bit.zip") - set(SFML_DIR ${DEPS_DIR}/SFML-2.5.1) + set(SFML_URL "https://www.sfml-dev.org/files/SFML-2.6.1-windows-vc17-64-bit.zip") + set(SFML_DIR ${DEPS_DIR}/SFML-2.6.1) if (NOT EXISTS ${SFML_DIR}) - message("Downloading SFML for Windows 32-bit") + message("Downloading SFML for Windows 64-bit") file(DOWNLOAD "${SFML_URL}" "${DEPS_DIR}/sfml.zip") execute_process( COMMAND ${CMAKE_COMMAND} -E tar x ${DEPS_DIR}/sfml.zip @@ -86,7 +86,6 @@ else() target_link_libraries(spine-sfml-cpp-example ${SFML_LIBS}/sfml-window-s-d.lib) target_link_libraries(spine-sfml-cpp-example ${SFML_LIBS}/sfml-system-s-d.lib) target_link_libraries(spine-sfml-cpp-example ${SFML_LIBS}/freetype.lib) - target_link_libraries(spine-sfml-cpp-example ${SFML_LIBS}/jpeg.lib) target_link_libraries(spine-sfml-cpp-example opengl32) target_link_libraries(spine-sfml-cpp-example gdi32) target_link_libraries(spine-sfml-cpp-example winmm) @@ -95,7 +94,6 @@ else() target_link_libraries(spine-sfml-cpp-testbed ${SFML_LIBS}/sfml-window-s-d.lib) target_link_libraries(spine-sfml-cpp-testbed ${SFML_LIBS}/sfml-system-s-d.lib) target_link_libraries(spine-sfml-cpp-testbed ${SFML_LIBS}/freetype.lib) - target_link_libraries(spine-sfml-cpp-testbed ${SFML_LIBS}/jpeg.lib) target_link_libraries(spine-sfml-cpp-testbed opengl32) target_link_libraries(spine-sfml-cpp-testbed gdi32) target_link_libraries(spine-sfml-cpp-testbed winmm)