diff options
| author | Domen Mori <30743731+domenn@users.noreply.github.com> | 2020-09-28 03:42:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-27 18:42:31 -0700 |
| commit | 4457c04bd7a6e412d168640c5627f58cb026f923 (patch) | |
| tree | c059eba0da99768a0261e5085ca422a2b5bd8326 | |
| parent | 0f8f94810999e9d8e3d29c043c85dbbe3a6528f9 (diff) | |
| download | vcpkg-4457c04bd7a6e412d168640c5627f58cb026f923.tar.gz vcpkg-4457c04bd7a6e412d168640c5627f58cb026f923.zip | |
[platform-folders] Fixed PlatformFolders to work with mingw on windows. (#13369)
* Fixed PlatformFolders to work with mingw on windows.
* Update ports/platform-folders/CONTROL
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
| -rw-r--r-- | ports/platform-folders/CONTROL | 3 | ||||
| -rw-r--r-- | ports/platform-folders/portfile.cmake | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/platform-folders/CONTROL b/ports/platform-folders/CONTROL index 9ce30f45a..8b5227dd3 100644 --- a/ports/platform-folders/CONTROL +++ b/ports/platform-folders/CONTROL @@ -1,3 +1,4 @@ Source: platform-folders
-Version: 4.0.0-5
+Version: 4.0.0
+Port-Version: 6
Description: A C++ library to look for special directories like "My Documents" and "%APPDATA%"
diff --git a/ports/platform-folders/portfile.cmake b/ports/platform-folders/portfile.cmake index fef2bf327..564fe1b47 100644 --- a/ports/platform-folders/portfile.cmake +++ b/ports/platform-folders/portfile.cmake @@ -26,7 +26,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) file(INSTALL ${TARGET_BUILD_PATH}-dbg/platform_folders.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin/) endif() -if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") +if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "MinGW") vcpkg_fixup_cmake_targets(CONFIG_PATH cmake/ TARGET_PATH /share/platform_folders) else() vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ TARGET_PATH /share/) |
