[clfft] 120/128: fixing build fail in travis
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Oct 22 14:54:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository clfft.
commit 4ea753974f8dce73d8c90d0dae1b118aaef1cad9
Author: bragadeesh <bragadeesh.natarajan at amd.com>
Date: Thu Oct 15 17:32:37 2015 -0700
fixing build fail in travis
---
src/CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c2e7b4b..899e1e9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,7 +48,7 @@ if( NOT DEFINED CLFFT_VERSION_PATCH )
endif( )
set( CLFFT_VERSION "${CLFFT_VERSION_MAJOR}.${CLFFT_VERSION_MINOR}.${CLFFT_VERSION_PATCH}")
-
+
# This is incremented when the ABI to the library changes
set( CLFFT_SOVERSION 2 )
@@ -177,7 +177,7 @@ if( BUILD_TEST )
endif( )
# Enable building of the callback client if requested and all dependencies are found
-if( BUILD_CALLBACK_CLIENT AND Boost_FOUND )
+if( BUILD_CALLBACK_CLIENT AND Boost_FOUND AND FFTW_FOUND )
set( FFT_CALLBACK_CLIENT ON )
else( )
set( FFT_CALLBACK_CLIENT OFF )
@@ -211,7 +211,7 @@ elseif( CMAKE_COMPILER_IS_GNUCXX )
# we only want c++0x if we're using gcc 4.5.2
set( CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}" )
endif()
-
+
set( CMAKE_CXX_FLAGS "-pthread ${CMAKE_CXX_FLAGS}" )
set( CMAKE_C_FLAGS "-pthread ${CMAKE_C_FLAGS}" )
--
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