mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW (#12104)
* [vcpkg] Fix vcpkg_fixup_cmake_targets to work correctly on MinGW * [akali] Bump version to test vcpkg_fixup_cmake_targets changes * Update ports/akali/CONTROL Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
f533327462
commit
e2cdd07866
@ -1,4 +1,5 @@
|
||||
Source: akali
|
||||
Version: 1.41
|
||||
Port-Version: 1
|
||||
Description: C++ Common Library.
|
||||
Homepage: https://github.com/winsoft666/akali
|
@ -53,11 +53,7 @@ function(vcpkg_fixup_cmake_targets)
|
||||
set(_vfct_TARGET_PATH share/${PORT})
|
||||
endif()
|
||||
|
||||
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
set(EXECUTABLE_SUFFIX "\\.exe")
|
||||
else()
|
||||
set(EXECUTABLE_SUFFIX)
|
||||
endif()
|
||||
string(REPLACE "." "\\." EXECUTABLE_SUFFIX "${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
|
||||
|
||||
set(DEBUG_SHARE ${CURRENT_PACKAGES_DIR}/debug/${_vfct_TARGET_PATH})
|
||||
set(RELEASE_SHARE ${CURRENT_PACKAGES_DIR}/${_vfct_TARGET_PATH})
|
||||
|
Loading…
x
Reference in New Issue
Block a user