|
From: <sm...@us...> - 2009-08-13 09:07:52
|
Revision: 10236
http://plplot.svn.sourceforge.net/plplot/?rev=10236&view=rev
Author: smekal
Date: 2009-08-13 09:07:43 +0000 (Thu, 13 Aug 2009)
Log Message:
-----------
Explicitly tell cmake to use the phobos library. This library is used in plplot.d and the D examples since it's provided with the standard D compiler install. This may become a problem if a user wants to use the "competing" tango library, but first make everything run with the phobos library and then take care about Tango.
Modified Paths:
--------------
trunk/cmake/modules/d.cmake
Modified: trunk/cmake/modules/d.cmake
===================================================================
--- trunk/cmake/modules/d.cmake 2009-08-13 09:00:37 UTC (rev 10235)
+++ trunk/cmake/modules/d.cmake 2009-08-13 09:07:43 UTC (rev 10236)
@@ -38,6 +38,7 @@
if(ENABLE_d)
# Find and check D compiler
+ set(CMAKE_D_USE_PHOBOS ON)
enable_language(D OPTIONAL)
if(NOT CMAKE_D_COMPILER_WORKS)
message(STATUS "WARNING: no working D compiler so disabling D bindings and examples.")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|