mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-28 05:30:22 +00:00
[double-conversion] Fix on non-windows
This commit is contained in:
parent
d45954a96b
commit
38c9c97b6b
@ -23,6 +23,9 @@ vcpkg_configure_cmake(
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Rename exported target files into something vcpkg_fixup_cmake_targets expects
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/double-conversion)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/double-conversion)
|
||||
endif()
|
||||
if(NOT VCPKG_USE_HEAD_VERSION)
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
@ -51,10 +54,6 @@ if(NOT VCPKG_USE_HEAD_VERSION)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
|
||||
endif()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
else()
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/double-conversion)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/double-conversion)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
@ -180,6 +180,8 @@ function(vcpkg_configure_cmake)
|
||||
"-DVCPKG_C_FLAGS_DEBUG=${VCPKG_C_FLAGS_DEBUG}"
|
||||
"-DVCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE}"
|
||||
"-DVCPKG_LINKER_FLAGS=${VCPKG_LINKER_FLAGS}"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||
)
|
||||
|
||||
if(DEFINED ARCH)
|
||||
|
Loading…
Reference in New Issue
Block a user