|
From: <arj...@us...> - 2013-07-19 12:41:06
|
Revision: 12432
http://sourceforge.net/p/plplot/code/12432
Author: arjenmarkus
Date: 2013-07-19 12:41:03 +0000 (Fri, 19 Jul 2013)
Log Message:
-----------
Change the logic for defining the _plplotc module, because Cygwin requires an extension .dll
Modified Paths:
--------------
trunk/bindings/python/CMakeLists.txt
Modified: trunk/bindings/python/CMakeLists.txt
===================================================================
--- trunk/bindings/python/CMakeLists.txt 2013-07-19 09:53:51 UTC (rev 12431)
+++ trunk/bindings/python/CMakeLists.txt 2013-07-19 12:41:03 UTC (rev 12432)
@@ -86,14 +86,21 @@
)
endif(USE_RPATH)
- if(WIN32_OR_CYGWIN)
+ if(WIN32_AND_NOT_CYGWIN)
set_target_properties(
_plplotcmodule
PROPERTIES
SUFFIX ".pyd"
OUTPUT_NAME "_plplotc"
)
- endif(WIN32_OR_CYGWIN)
+ elseif(CYGWIN)
+ set_target_properties(
+ _plplotcmodule
+ PROPERTIES
+ SUFFIX ".dll"
+ OUTPUT_NAME "_plplotc"
+ )
+ endif(WIN32_AND_NOT_CYGWIN)
add_library(plplot_widgetmodule MODULE plplot_widgetmodule.c)
set_target_properties(plplot_widgetmodule PROPERTIES PREFIX "")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|