packages: nifticlib/nifticlib.spec - trick cmake not to require c++ compiler

sparky sparky at pld-linux.org
Fri Dec 4 01:08:34 CET 2009


Author: sparky                       Date: Fri Dec  4 00:08:34 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- trick cmake not to require c++ compiler

---- Files affected:
packages/nifticlib:
   nifticlib.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/nifticlib/nifticlib.spec
diff -u packages/nifticlib/nifticlib.spec:1.3 packages/nifticlib/nifticlib.spec:1.4
--- packages/nifticlib/nifticlib.spec:1.3	Mon Sep 29 23:05:28 2008
+++ packages/nifticlib/nifticlib.spec	Fri Dec  4 01:08:29 2009
@@ -52,6 +52,8 @@
 
 %build
 %cmake . \
+	-DCMAKE_CXX_COMPILER_WORKS=1 \
+	-DCMAKE_CXX_COMPILER="%{__cc}" \
 	-DBUILD_SHARED_LIBS=ON \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
 	-DCMAKE_SKIP_RPATH=ON \
@@ -95,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/12/04 00:08:29  sparky
+- trick cmake not to require c++ compiler
+
 Revision 1.3  2008/09/29 21:05:28  qboosh
 - unified cmake -D options
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nifticlib/nifticlib.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list