Skip to content

Commit

Permalink
Merge pull request #19313 from GordonSmith/HPCC-33028-CMAKE_WIN_ISSUE
Browse files Browse the repository at this point in the history
HPCC-33028 Win + CMake > v3.28.3 issue

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Nov 26, 2024
2 parents 1abb2c3 + b343c10 commit 854c9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake_modules/commonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1086,16 +1086,16 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
list(INSERT ARGS 3 ${ARGV1}_deps)
if (WIN32)
install(RUNTIME_DEPENDENCY_SET ${ARGV1}_deps
DESTINATION ${EXEC_DIR}
PRE_EXCLUDE_REGEXES "api-ms-win-.*\.dll"
POST_INCLUDE_REGEXES "^${VCPKG_FILES_DIR}.*"
POST_EXCLUDE_REGEXES ".*"
DESTINATION ${EXEC_DIR}
)
else()
install(RUNTIME_DEPENDENCY_SET ${ARGV1}_deps
DESTINATION ${LIB_DIR}
POST_INCLUDE_REGEXES "^${VCPKG_FILES_DIR}\/vcpkg_installed\/.*"
POST_EXCLUDE_REGEXES ".*"
DESTINATION ${LIB_DIR}
)
endif()
endif()
Expand Down

0 comments on commit 854c9a7

Please sign in to comment.