mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
ce47af852e
Don't import if Netgen was configured with USE_GUI=OFF
14 lines
392 B
CMake
14 lines
392 B
CMake
if(USE_GUI)
|
|
set(IMPORT_TKINTER True)
|
|
else()
|
|
set(IMPORT_TKINTER False)
|
|
endif()
|
|
configure_file(__init__.py ${CMAKE_CURRENT_BINARY_DIR}/__init__.py @ONLY)
|
|
|
|
install(FILES
|
|
${CMAKE_CURRENT_BINARY_DIR}/__init__.py
|
|
meshing.py csg.py geom2d.py stl.py gui.py NgOCC.py read_gmsh.py
|
|
DESTINATION ${NG_INSTALL_DIR_PYTHON}/${NG_INSTALL_SUFFIX}
|
|
COMPONENT netgen
|
|
)
|