mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
CMake: When compiling Python to .pyc, optimize with -O
Distros seem to prefer having opt-1 Python modules and don't care as much about the opt-2.
This commit is contained in:
parent
1eaf1654cd
commit
fd94a33c56
@ -70,7 +70,7 @@ if(changed AND DEFINED PYTHON_EXECUTABLES)
|
||||
WORKING_DIRECTORY "${OUTPUT_DIR}")
|
||||
|
||||
execute_process(
|
||||
COMMAND "${interp}" -OO -m compileall .
|
||||
COMMAND "${interp}" -O -m compileall .
|
||||
OUTPUT_QUIET
|
||||
WORKING_DIRECTORY "${OUTPUT_DIR}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user