Skip to content

Commit

Permalink
Remove vcpkg reference in CPack config
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
mhidalgo-bdai committed Oct 15, 2024
1 parent 49c281e commit 1b09cb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ install(

# Define Variables needed by package config file
set(PACKAGE_INSTALL_PREFIX /opt/spot-cpp-sdk)
set(DEP_INSTALL_PATH ${PACKAGE_INSTALL_PREFIX}/external)

#this generates a relocatable config file for install, but it gets invoked at build time,
#so the output has to be saved in a way that will not conflict with the export config
Expand Down Expand Up @@ -327,6 +326,5 @@ if (UNIX)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set(CPACK_PACKAGING_INSTALL_PREFIX "${PACKAGE_INSTALL_PREFIX}")
set(CPACK_INSTALLED_DIRECTORIES "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/;${DEP_INSTALL_PATH}/")
include(CPack)
endif()

0 comments on commit 1b09cb2

Please sign in to comment.