mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
ef153db9bc
This is necessary to build on Ubuntu 22.04 because it includes d5e641d86b
14 lines
442 B
Diff
14 lines
442 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 352fea9..01c1695 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -111,7 +111,7 @@ endif()
|
|
if(NOT THOR_SHARED_LIBS)
|
|
set(SFML_STATIC_LIBRARIES TRUE)
|
|
endif()
|
|
-find_package(SFML 2.5 COMPONENTS audio graphics window system REQUIRED)
|
|
+find_package(SFML COMPONENTS audio graphics window system CONFIG REQUIRED)
|
|
|
|
if(NOT SFML_FOUND)
|
|
set(SFML_DIR "" CACHE PATH "SFML top-level directory")
|