[clfft] 49/64: Rename CMake varible BUILD_SHARED_LIBRARY to BUILD_SHARED_LIBS

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 1c1469237beef713ca8646972a13cd8e29dc0e0c
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Wed Mar 25 17:22:19 2015 -0400

    Rename CMake varible BUILD_SHARED_LIBRARY to BUILD_SHARED_LIBS
---
 src/CMakeLists.txt           | 4 ++--
 src/library/CMakeLists.txt   | 2 +-
 src/statTimer/CMakeLists.txt | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a58de19..d92bbab 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -70,7 +70,7 @@ option( BUILD_RUNTIME "Build the FFT runtime library" ON )
 option( BUILD_CLIENT "Build a command line clFFT client program with a variety of configurable parameters (dependency on Boost)" ON )
 option( BUILD_TEST "Build the library testing suite (dependency on google test, Boost, and FFTW)" ON )
 option( BUILD_LOADLIBRARIES "Build the optional dynamic load libraries that the FFT runtime will search for" ON )
-option( BUILD_SHARED_LIBRARY "Build shared libraries." ON)
+option( BUILD_SHARED_LIBS "Build shared libraries." ON)
 option( BUILD_EXAMPLES "Build examples." ON)
 
 # If BOOST_ROOT is defined as an environment value, use that value and cache it so it's visible in the cmake-gui.
@@ -247,7 +247,7 @@ install( FILES
 		DESTINATION
 			"./include" )
 
-if( NOT BUILD_SHARED_LIBRARY )
+if( NOT BUILD_SHARED_LIBS )
   add_definitions( -DCLFFT_BUILD_STATIC )
 endif()
 
diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
index 0d400d8..806ec77 100644
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@ -74,7 +74,7 @@ add_definitions( "/DCLFFT_EXPORTS" )
 # Include standard OpenCL headers
 include_directories( ${OPENCL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/include ../include )
 
-if(BUILD_SHARED_LIBRARY)
+if(BUILD_SHARED_LIBS)
   add_library( clFFT SHARED ${clFFT.Files} )
 else()
   add_library( clFFT STATIC ${clFFT.Files} )
diff --git a/src/statTimer/CMakeLists.txt b/src/statTimer/CMakeLists.txt
index 3dc026f..09b5564 100644
--- a/src/statTimer/CMakeLists.txt
+++ b/src/statTimer/CMakeLists.txt
@@ -63,7 +63,7 @@ add_definitions( "/DSTATTIMER_EXPORTS" )
 # Include standard OpenCL headers
 include_directories( ${OPENCL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/include ../include )
 
-if(BUILD_SHARED_LIBRARY)
+if(BUILD_SHARED_LIBS)
   add_library( StatTimer SHARED ${StatTimer.Files} )
 else()
   add_library( StatTimer STATIC ${StatTimer.Files} )

-- 
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