Fix vcpkg install (#4327)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
1b2378be73
commit
ada77b34a6
@ -93,7 +93,7 @@ macro(az_vcpkg_export targetName macroNamePart dllImportExportHeaderPath)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# When installing, copy our "inc" directory (headers) to "include" directory at the install location.
|
||||
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/inc/azure/" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/azure")
|
||||
|
||||
# Copy license as "copyright" (vcpkg dictates naming and location).
|
||||
install(FILES "${AZ_ROOT_DIR}/LICENSE.txt" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/${targetName}-cpp" RENAME "copyright")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user