mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
10 lines
358 B
CMake
10 lines
358 B
CMake
|
|
# kill boolean warnings
|
|
CMAKE_POLICY(SET CMP0012 NEW)
|
|
|
|
IF(@WITH_PY_COMPILE@)
|
|
MESSAGE(STATUS "Byte-compiling core Python utilities and plugins...")
|
|
# exclude Python 3 modules in PyQt4.uic package
|
|
EXECUTE_PROCESS(COMMAND @PYTHON_EXECUTABLE@ -m compileall -q -x ".*uic.port_v3.*" "@CMAKE_INSTALL_PREFIX@/@QGIS_DATA_DIR@/python")
|
|
ENDIF(@WITH_PY_COMPILE@)
|