mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Don't pack bundle files into pip package on MacOS
This commit is contained in:
parent
3c60c27e41
commit
dbbe91018d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user