mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
CMake: Fix pandac.PandaModules generation
This commit is contained in:
parent
873c6b48d6
commit
65d11a4cfa
@ -72,7 +72,7 @@ print(\"Warning: pandac.PandaModules is deprecated, import from panda3d.core ins
|
||||
foreach(module ${ALL_INTERROGATE_MODULES})
|
||||
file(APPEND "${PROJECT_BINARY_DIR}/pandac/PandaModules.py" "
|
||||
try:
|
||||
from panda3d.${module} import *
|
||||
from ${module} import *
|
||||
except ImportError as err:
|
||||
if not (\"No module named\" in str(err) and \"${module}\" in str(err)):
|
||||
raise
|
||||
|
Loading…
x
Reference in New Issue
Block a user