mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 06:09:08 +08:00
Merge pull request #3077 from past-due/chakracore_fix_vcpkg_build_type
[chakracore] Fix build failure when VCPKG_BUILD_TYPE is set
This commit is contained in:
commit
679d425290
@ -42,6 +42,7 @@ file(INSTALL
|
||||
${BUILDTREE_PATH}/lib/jsrt/ChakraDebug.h
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
)
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
file(INSTALL
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.dll
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/ChakraCore.pdb
|
||||
@ -51,6 +52,8 @@ file(INSTALL
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_debug/Chakracore.lib
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
||||
)
|
||||
endif()
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
file(INSTALL
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.dll
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/ChakraCore.pdb
|
||||
@ -65,6 +68,7 @@ file(INSTALL
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/GCStress.exe
|
||||
${BUILDTREE_PATH}/Build/VcBuild/bin/${TRIPLET_SYSTEM_ARCH}_release/rl.exe
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/tools/chakracore)
|
||||
endif()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
file(INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user