Skip to content

Commit

Permalink
Install debug vcpkg libs
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 7, 2024
1 parent f8b38ab commit f5f2d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<IF:$<CONFIG:Debug>,${PACKAGE_DIR}/debug/lib/,${PACKAGE_DIR}/lib/>
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()
Expand All @@ -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 $<IF:$<CONFIG:Debug>,${PACKAGE_DIR}/debug/lib/,${PACKAGE_DIR}/lib/>
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()
Expand Down

0 comments on commit f5f2d07

Please sign in to comment.