Skip to content

Commit

Permalink
Add cpack option into main CMAKE
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Jan 15, 2025
1 parent 1ec11d9 commit a76b960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -459,5 +459,7 @@ if(SOFA_BUILD_RELEASE_PACKAGE)
set(CPACK_INSTALL_PREFIX "/runSofa.app/Contents/MacOS")
endif()

set(CPACK_PRE_BUILD_SCRIPTS ${CMAKE_SOURCE_DIR}/tools/postinstall-fixup/generate-stubfiles.cmake)

include(CPack)
endif()

0 comments on commit a76b960

Please sign in to comment.