diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-08-22 01:29:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 01:29:59 -0700 |
| commit | de0501f18704cbafea7f82a641d96e93deafcfa3 (patch) | |
| tree | ec78c2d3c89798977fe6cea3971dc5256b882147 /ports/imgui-sfml | |
| parent | 5d331ed5538b36d040e90fdd96a70fa606fe597a (diff) | |
| download | vcpkg-de0501f18704cbafea7f82a641d96e93deafcfa3.tar.gz vcpkg-de0501f18704cbafea7f82a641d96e93deafcfa3.zip | |
[sfml][imgui-sfml] Push SFML_STATIC_LIBRARIES setting into `sfml` (#11800)
Diffstat (limited to 'ports/imgui-sfml')
| -rw-r--r-- | ports/imgui-sfml/CONTROL | 4 | ||||
| -rw-r--r-- | ports/imgui-sfml/portfile.cmake | 14 |
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() |
