aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ois/0002-fix-cmake4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/ois/0002-fix-cmake4.patch')
-rw-r--r--vcpkg/ports/ois/0002-fix-cmake4.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/ois/0002-fix-cmake4.patch b/vcpkg/ports/ois/0002-fix-cmake4.patch
new file mode 100644
index 0000000..55c6589
--- /dev/null
+++ b/vcpkg/ports/ois/0002-fix-cmake4.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f65b86000d..c06b1dd64d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -188,8 +188,7 @@ endif()
+ if(UNIX)
+
+ if (NOT APPLE)
+- add_dependencies(OIS X11)
+- target_link_libraries(OIS X11)
++ target_link_libraries(OIS X11::X11)
+ endif()
+
+ set_target_properties(OIS PROPERTIES