[rkward-cvs] SF.net SVN: rkward:[3009] trunk/rkward/rkward/rbackend/FindR.cmake

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Sep 9 19:03:26 UTC 2010


Revision: 3009
          http://rkward.svn.sourceforge.net/rkward/?rev=3009&view=rev
Author:   tfry
Date:     2010-09-09 19:03:26 +0000 (Thu, 09 Sep 2010)

Log Message:
-----------
Somehow parentheses are a problem for cmake on windows at this point.

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/FindR.cmake

Modified: trunk/rkward/rkward/rbackend/FindR.cmake
===================================================================
--- trunk/rkward/rkward/rbackend/FindR.cmake	2010-09-09 13:52:55 UTC (rev 3008)
+++ trunk/rkward/rkward/rbackend/FindR.cmake	2010-09-09 19:03:26 UTC (rev 3009)
@@ -94,12 +94,13 @@
 ELSE(NOT LIBR_LAPACK)
 	MESSAGE(STATUS "Yes, ${LIBR_LAPACK} exists")
 	SET(R_USED_LIBS ${R_USED_LIBS} Rlapack)
-	IF(NOT (WIN32 OR APPLE))
+	IF(WIN32 OR APPLE)
+	ELSE(WIN32 OR APPLE)
 		# needed when linking to Rlapack on linux for some unknown reason.
 		# apparently not needed on windows (let's see, when it comes back to bite us, though)
 		# and compiling on windows is hard enough even without requiring libgfortran, too.
 		SET(R_USED_LIBS ${R_USED_LIBS} gfortran)
-	ENDIF(NOT (WIN32 OR APPLE))
+	ENDIF(WIN32 OR APPLE)
 ENDIF(NOT LIBR_LAPACK)
 
 # for at least some versions of R, we seem to have to link against -lRlapack. Else loading some


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list