diff --git a/CHANGES.md b/CHANGES.md index f554ca327..44ae711d3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,10 @@ - Added support for `EXT_accessor_additional_types` in `AccessorView`. - Added `EllipsoidTilesetLoader` that will generate a tileset by tesselating the surface of an ellipsoid, producing a simple globe tileset without any terrain features. +##### Fixes :wrench: + +- Updated the CMake install process to install the vcpkg-built Debug binaries in Debug builds. Previously the Release binaries were installed instead. + ### v0.41.0 - 2024-11-01 ##### Breaking Changes :mega: diff --git a/CMakeLists.txt b/CMakeLists.txt index 8babca08a..d93bfe3e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ if(CESIUM_INSTALL_STATIC_LIBS OR CESIUM_INSTALL_HEADERS) if (CESIUM_INSTALL_STATIC_LIBS AND NOT PACKAGE IN_LIST CESIUM_EXCLUDE_INSTALL_STATIC_LIBS AND EXISTS ${PACKAGE_DIR}/lib) install( - DIRECTORY ${PACKAGE_DIR}/lib/ + DIRECTORY $,${PACKAGE_DIR}/debug/lib/,${PACKAGE_DIR}/lib/> DESTINATION ${CMAKE_INSTALL_LIBDIR} ) endif() @@ -134,7 +134,7 @@ if(CESIUM_INSTALL_STATIC_LIBS) message(DEBUG "PACKAGE_DIR ${PACKAGE_DIR}") if (NOT PACKAGE IN_LIST CESIUM_EXCLUDE_INSTALL_STATIC_LIBS AND EXISTS ${PACKAGE_DIR}/lib) install( - DIRECTORY ${PACKAGE_DIR}/lib/ + DIRECTORY $,${PACKAGE_DIR}/debug/lib/,${PACKAGE_DIR}/lib/> DESTINATION ${CMAKE_INSTALL_LIBDIR} ) endif()