[SCM] yafaray/upstream: Imported Upstream version 0.1.2~beta2.1
mfv-guest at users.alioth.debian.org
mfv-guest at users.alioth.debian.org
Mon Jan 2 14:39:27 UTC 2012
The following commit has been merged in the upstream branch:
commit 5f2a72a52cc97ce98f544d87f7dd633f2fd8285a
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date: Mon Jan 2 15:20:30 2012 +0100
Imported Upstream version 0.1.2~beta2.1
diff --git a/CMakeModules/UseYafSWIG.cmake b/CMakeModules/UseYafSWIG.cmake
index 5e0d18c..adddde7 100644
--- a/CMakeModules/UseYafSWIG.cmake
+++ b/CMakeModules/UseYafSWIG.cmake
@@ -203,8 +203,10 @@ MACRO(SWIG_ADD_MODULE name language)
MODULE
${swig_generated_sources}
${swig_other_sources})
- SET_TARGET_PROPERTIES(${SWIG_MODULE_${name}_REAL_NAME}
- PROPERTIES PREFIX "")
+ SET_TARGET_PROPERTIES(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ IF(WIN32 AND NOT CYGWIN)
+ SET_TARGET_PROPERTIES(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".pyd")
+ ENDIF(WIN32 AND NOT CYGWIN)
ENDMACRO(SWIG_ADD_MODULE)
#
--
yafaray packaging
More information about the pkg-multimedia-commits
mailing list