Skip to content

Commit df0bb50

Browse files
committed
uncanny
1 parent 26233a3 commit df0bb50

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ endif()
418418
# Generate source assembly
419419
set(ASSEMBLY_BASE_NAME "${CMAKE_PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
420420
if(WIN32)
421+
set(CPACK_PRE_BUILD_SCRIPTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/prep_for_win_package.cmake")
421422
set(CPACK_ALL_INSTALL_TYPES Full Developer)
422423
set(CPACK_COMPONENT_LIBRARIES_INSTALL_TYPES Developer Full)
423424
set(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)

cmake/prep_for_win_package.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
file(COPY "${CPACK_PACKAGE_DIRECTORY}/bin/minifi.exe" DESTINATION "${CPACK_PACKAGE_DIRECTORY}/minifi_main/minifi.exe")

0 commit comments

Comments
 (0)