aboutsummaryrefslogtreecommitdiff
path: root/ports/sfml
diff options
context:
space:
mode:
authorCheney Wang <38240633+Cheney-W@users.noreply.github.com>2018-12-17 16:44:08 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-12-17 16:44:08 -0800
commitc094d3133c0b7776c74e1463d64cc079c9960068 (patch)
tree958acf5914899c80b59e78892d80b91ecd01ff34 /ports/sfml
parent8ba6cbec0dfc6c8d692136d27c74f98387233641 (diff)
downloadvcpkg-c094d3133c0b7776c74e1463d64cc079c9960068.tar.gz
vcpkg-c094d3133c0b7776c74e1463d64cc079c9960068.zip
Update release version or commit to latest for below ports (#4957)
* [botan][caf][celero][docopt][glbinding][nanodbc][sfgui]Update release version or commit to latest * [sfml] Add find_dependency(Freetype)
Diffstat (limited to 'ports/sfml')
-rw-r--r--ports/sfml/CONTROL2
-rw-r--r--ports/sfml/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/sfml/CONTROL b/ports/sfml/CONTROL
index 371300221..8fcda5bc1 100644
--- a/ports/sfml/CONTROL
+++ b/ports/sfml/CONTROL
@@ -1,4 +1,4 @@
Source: sfml
-Version: 2.5.1
+Version: 2.5.1-1
Description: Simple and fast multimedia library
Build-Depends: freetype, libflac, libogg, libvorbis, openal-soft, stb
diff --git a/ports/sfml/portfile.cmake b/ports/sfml/portfile.cmake
index 22ab3b8a3..a25c5628b 100644
--- a/ports/sfml/portfile.cmake
+++ b/ports/sfml/portfile.cmake
@@ -32,9 +32,9 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/SFML)
vcpkg_copy_pdbs()
-if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
FILE(READ ${CURRENT_PACKAGES_DIR}/share/sfml/SFMLConfig.cmake SFML_CONFIG)
- FILE(WRITE ${CURRENT_PACKAGES_DIR}/share/sfml/SFMLConfig.cmake "set(SFML_STATIC_LIBRARIES true)\n${SFML_CONFIG}")
+ FILE(WRITE ${CURRENT_PACKAGES_DIR}/share/sfml/SFMLConfig.cmake "set(SFML_STATIC_LIBRARIES true)\ninclude(CMakeFindDependencyMacro)\nfind_dependency(Freetype)\n${SFML_CONFIG}")
endif()
# move sfml-main to manual link dir