mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 12:58:59 +08:00
Merge pull request #3078 from past-due/paho-mqtt_fix_vcpkg_build_type
[paho-mqtt] Fix post-build validation failure when VCPKG_BUILD_TYPE is set
This commit is contained in:
commit
60572a997b
@ -52,11 +52,15 @@ file(GLOB HEADERS "${SOURCE_PATH}/*/*.h")
|
||||
if(DLLS)
|
||||
file(INSTALL ${DLLS} DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
|
||||
endif()
|
||||
file(INSTALL ${LIBS} DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
||||
if(LIBS)
|
||||
file(INSTALL ${LIBS} DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
||||
endif()
|
||||
if(DEBUG_DLLS)
|
||||
file(INSTALL ${DEBUG_DLLS} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
endif()
|
||||
file(INSTALL ${DEBUG_LIBS} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
||||
if(DEBUG_LIBS)
|
||||
file(INSTALL ${DEBUG_LIBS} DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
||||
endif()
|
||||
file(INSTALL ${HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
|
Loading…
Reference in New Issue
Block a user