[Greater-commits] r277 - trunk/GREAT-ER-DB

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jun 27 13:21:06 CEST 2011


Author: bricks
Date: 2011-06-27 13:21:06 +0200 (Mon, 27 Jun 2011)
New Revision: 277

Modified:
   trunk/GREAT-ER-DB/CMakeLists.txt
Log:
python_compile macro should work on windows too now


Modified: trunk/GREAT-ER-DB/CMakeLists.txt
===================================================================
--- trunk/GREAT-ER-DB/CMakeLists.txt	2011-06-27 11:19:55 UTC (rev 276)
+++ trunk/GREAT-ER-DB/CMakeLists.txt	2011-06-27 11:21:06 UTC (rev 277)
@@ -106,12 +106,10 @@
     )
 endmacro(python_compile)
 
-if(NOT WIN32)
-    foreach(_PYTHON_FILE ${DAGREATER_PYTHON_SOURCE_FILES})
-        message(STATUS "Compiling ${_PYTHON_FILE}")
-        python_compile(${_PYTHON_FILE})
-    endforeach(_PYTHON_FILE)
-endif()
+foreach(_PYTHON_FILE ${DAGREATER_PYTHON_SOURCE_FILES})
+    message(STATUS "Compiling ${_PYTHON_FILE}")
+    python_compile(${_PYTHON_FILE})
+endforeach(_PYTHON_FILE)
 
 add_library(pydagreater MODULE ${pydagreater_SRCS})
 message(STATUS "pydagreater libs ${DAGREATER_LIBRARIES}")



More information about the Greater-commits mailing list