[Greater-commits] r273 - trunk/GREAT-ER-DB
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 27 12:44:51 CEST 2011
Author: bricks
Date: 2011-06-27 12:44:51 +0200 (Mon, 27 Jun 2011)
New Revision: 273
Modified:
trunk/GREAT-ER-DB/CMakeLists.txt
Log:
Don't use pycompile on windows systems
Modified: trunk/GREAT-ER-DB/CMakeLists.txt
===================================================================
--- trunk/GREAT-ER-DB/CMakeLists.txt 2011-06-27 09:42:13 UTC (rev 272)
+++ trunk/GREAT-ER-DB/CMakeLists.txt 2011-06-27 10:44:51 UTC (rev 273)
@@ -113,10 +113,12 @@
)
endmacro(python_compile)
-foreach(_PYTHON_FILE ${DAGREATER_PYTHON_SOURCE_FILES})
- message(STATUS "Compiling ${_PYTHON_FILE}")
- python_compile(${_PYTHON_FILE})
-endforeach(_PYTHON_FILE)
+if(NOT WIN32)
+ foreach(_PYTHON_FILE ${DAGREATER_PYTHON_SOURCE_FILES})
+ message(STATUS "Compiling ${_PYTHON_FILE}")
+ python_compile(${_PYTHON_FILE})
+ endforeach(_PYTHON_FILE)
+endif()
add_library(pydagreater MODULE ${pydagreater_SRCS})
message(STATUS "pydagreater libs ${DAGREATER_LIBRARIES}")
More information about the Greater-commits
mailing list