[clfft] 47/64: Change BUILD_STATIC to CLFFT_BUILD_STATIC

Jérôme Kieffer kieffer-guest at moszumanska.debian.org
Wed May 20 07:33:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

kieffer-guest pushed a commit to branch develop
in repository clfft.

commit 06d584cf6269ca914d6d42ef620908d9a2c2ff3d
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Wed Mar 25 14:58:28 2015 -0400

    Change BUILD_STATIC to CLFFT_BUILD_STATIC
---
 src/CMakeLists.txt  | 2 +-
 src/include/clFFT.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ef69bc3..a58de19 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -248,7 +248,7 @@ install( FILES
 			"./include" )
 
 if( NOT BUILD_SHARED_LIBRARY )
-    add_definitions( -DBUILD_STATIC )
+  add_definitions( -DCLFFT_BUILD_STATIC )
 endif()
 
 # Recurse into subdirectory and start building files there
diff --git a/src/include/clFFT.h b/src/include/clFFT.h
index 08eea51..ed1da70 100644
--- a/src/include/clFFT.h
+++ b/src/include/clFFT.h
@@ -47,7 +47,7 @@
 		#define inline __inline
 	#endif
 
-    #if defined( BUILD_STATIC )
+    #if defined( CLFFT_BUILD_STATIC )
         #define CLFFTAPI
     #elif defined( CLFFT_EXPORTS )
         #define CLFFTAPI __declspec( dllexport )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list