mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:59:02 +08:00
fix TRIPLET_SYSTEM_ARCH set to x86 instead of Win32 issue.
This commit is contained in:
parent
94bb746e51
commit
584d98afe6
@ -26,22 +26,30 @@ vcpkg_build_msbuild(
|
||||
)
|
||||
|
||||
message(STATUS "Installing")
|
||||
IF (TRIPLET_SYSTEM_ARCH MATCHES "x86")
|
||||
SET(BUILD_ARCH "Win32")
|
||||
ELSEIF(TRIPLET_SYSTEM_ARCH MATCHES "x64")
|
||||
SET(BUILD_ARCH "x64")
|
||||
ELSE()
|
||||
MESSAGE(SEND_ERROR "Unknown TRIPLET_SYSTEM_ARCH")
|
||||
ENDIF()
|
||||
|
||||
file(INSTALL
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Debug/${TRIPLET_SYSTEM_ARCH}/glew32d.dll
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Debug/${TRIPLET_SYSTEM_ARCH}/glew32d.pdb
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Debug/${BUILD_ARCH}/glew32d.dll
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Debug/${BUILD_ARCH}/glew32d.pdb
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
|
||||
)
|
||||
file(INSTALL
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Release/${TRIPLET_SYSTEM_ARCH}/glew32.dll
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Release/${TRIPLET_SYSTEM_ARCH}/glew32.pdb
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Release/${BUILD_ARCH}/glew32.dll
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/bin/Release/${BUILD_ARCH}/glew32.pdb
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
|
||||
)
|
||||
file(INSTALL
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/lib/Debug/${TRIPLET_SYSTEM_ARCH}/glew32d.lib
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/lib/Debug/${BUILD_ARCH}/glew32d.lib
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
||||
)
|
||||
file(INSTALL
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/lib/Release/${TRIPLET_SYSTEM_ARCH}/glew32.lib
|
||||
${CURRENT_BUILDTREES_DIR}/src/glew-1.13.0/lib/Release/${BUILD_ARCH}/glew32.lib
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
|
||||
)
|
||||
file(INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user