aboutsummaryrefslogtreecommitdiff
path: root/ports/imgui-sfml
diff options
context:
space:
mode:
Diffstat (limited to 'ports/imgui-sfml')
-rw-r--r--ports/imgui-sfml/CONTROL4
-rw-r--r--ports/imgui-sfml/portfile.cmake14
2 files changed, 2 insertions, 16 deletions
diff --git a/ports/imgui-sfml/CONTROL b/ports/imgui-sfml/CONTROL
index ee43509de..a792691ad 100644
--- a/ports/imgui-sfml/CONTROL
+++ b/ports/imgui-sfml/CONTROL
@@ -1,5 +1,5 @@
Source: imgui-sfml
-Version: 2.1-1
+Version: 2.1-2
Homepage: https://github.com/eliasdaler/imgui-sfml
Description: ImGui binding for use with SFML
-Build-Depends: sfml, imgui
+Build-Depends: sfml, imgui, opengl
diff --git a/ports/imgui-sfml/portfile.cmake b/ports/imgui-sfml/portfile.cmake
index d283a2624..aedb31ced 100644
--- a/ports/imgui-sfml/portfile.cmake
+++ b/ports/imgui-sfml/portfile.cmake
@@ -13,23 +13,9 @@ vcpkg_from_github(
004-fix-find-sfml.patch
)
-if (VCPKG_TARGET_IS_WINDOWS)
- file(GLOB SFML_DYNAMIC_LIBS "${CURRENT_INSTALLED_DIR}/bin/sfml-*")
-else()
- file(GLOB SFML_DYNAMIC_LIBS "${CURRENT_INSTALLED_DIR}/bin/libsfml-*")
-endif()
-
-if (SFML_DYNAMIC_LIBS)
- set(SFML_STATIC OFF)
-else()
- set(SFML_STATIC ON)
-endif()
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS
- -DSFML_STATIC_LIBRARIES=${SFML_STATIC}
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()