mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
cmake: Fix PandaModules generation.
This commit is contained in:
parent
ae10462b58
commit
1f5a53619e
@ -63,7 +63,7 @@ if(HAVE_PYTHON)
|
||||
print(\"Warning: pandac.PandaModules is deprecated, import from panda3d.core instead\")\n")
|
||||
|
||||
foreach(module ${ALL_INTERROGATE_MODULES})
|
||||
file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/PandaModules.py" "
|
||||
file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/pandac/PandaModules.py" "
|
||||
try:
|
||||
from panda3d.${module} import *
|
||||
except ImportError as err:
|
||||
|
Loading…
x
Reference in New Issue
Block a user