From: <sm...@us...> - 2008-10-14 20:52:57
|
Revision: 8903 http://plplot.svn.sourceforge.net/plplot/?rev=8903&view=rev Author: smekal Date: 2008-10-14 20:52:52 +0000 (Tue, 14 Oct 2008) Log Message: ----------- On Win32 platforms the shared library suffix is always 'dll' (even for Cygwin and MSys). Modified Paths: -------------- trunk/drivers/CMakeLists.txt Modified: trunk/drivers/CMakeLists.txt =================================================================== --- trunk/drivers/CMakeLists.txt 2008-10-14 20:48:43 UTC (rev 8902) +++ trunk/drivers/CMakeLists.txt 2008-10-14 20:52:52 UTC (rev 8903) @@ -104,14 +104,14 @@ # the prefix should always be nothing (rather than lib) and the suffix # should be set in a platform-dependent manner in order for libltdl # to find the dynamic device. - if(CYGWIN) + if(WIN32) # strace showed that .dll was a must for libltdl on Cygwin. set(DYNAMIC_SUFFIX ".dll") - else(CYGWIN) + else(WIN32) # So far this works on all non-Cygwin systems, but only Linux and # Mac OS X have been tested so far. set(DYNAMIC_SUFFIX ".so") - endif(CYGWIN) + endif(WIN32) #message("${SOURCE_ROOT_NAME}_RPATH = ${${SOURCE_ROOT_NAME}_RPATH}") if(USE_RPATH) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |