Don't pack bundle files into pip package on MacOS

This commit is contained in:
mhochsteger@cerbsim.com 2022-02-02 17:32:50 +01:00
parent 3c60c27e41
commit dbbe91018d

View File

@ -587,7 +587,7 @@ if(UNIX)
endif(temp) endif(temp)
endif(UNIX) endif(UNIX)
if(APPLE) if(APPLE AND NOT SKBUILD)
# create some auxiliary files # create some auxiliary files
set(mac_startup ${CMAKE_CURRENT_BINARY_DIR}/startup.sh) set(mac_startup ${CMAKE_CURRENT_BINARY_DIR}/startup.sh)
file(WRITE ${mac_startup} "\ file(WRITE ${mac_startup} "\
@ -632,7 +632,7 @@ open -a /Applications/Utilities/Terminal.app $Netgen_MACOS/startup.sh || open -a
install(FILES ${mac_plist} DESTINATION ${NG_INSTALL_DIR_BIN}/../) install(FILES ${mac_plist} DESTINATION ${NG_INSTALL_DIR_BIN}/../)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/netgen.icns DESTINATION ${NG_INSTALL_DIR_RES}/../ RENAME Netgen.icns) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/netgen.icns DESTINATION ${NG_INSTALL_DIR_RES}/../ RENAME Netgen.icns)
endif(APPLE) endif(APPLE AND NOT SKBUILD)
if(NOT APPLE) if(NOT APPLE)
include(CPack) include(CPack)