Tests: Fix CPackNSISGenerator test on non-x86 Windows platforms

In commit ebfffc609e (CPack/NSIS: Add option for setting
MUI_HEADERIMAGE_BITMAP, 2020-01-02) this test was added but only globbed
for 32-bit windows packages.  Fix the test to glob for packages of any
architecture.
This commit is contained in:
Brad King
2020-01-15 14:30:57 -05:00
parent 9f1ce93d92
commit b796749ba8

View File

@@ -27,7 +27,7 @@ else ()
message(STATUS "CPack_output=${CPack_output}")
endif()
set(expected_file_mask "${CPackNSISGenerator_BINARY_DIR}/_CPack_Packages/win32/NSIS/*.nsi")
set(expected_file_mask "${CPackNSISGenerator_BINARY_DIR}/_CPack_Packages/*/NSIS/*.nsi")
file(GLOB project_file "${expected_file_mask}")
message(STATUS "project_file='${project_file}'")