[clfft] 01/74: re-enable installation of pkg-config file
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jan 14 19:52:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.
commit bcb5027f8c245967cace7c3343e5c15c1eb78e56
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu Oct 29 14:51:57 2015 +0000
re-enable installation of pkg-config file
---
src/library/CMakeLists.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
index 491168e..3025d0a 100644
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@ -91,13 +91,13 @@ set_target_properties( clFFT PROPERTIES VERSION ${CLFFT_VERSION} )
set_target_properties( clFFT PROPERTIES SOVERSION ${CLFFT_SOVERSION} )
set_target_properties( clFFT PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
-# if( CMAKE_COMPILER_IS_GNUCC )
-# configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/clFFT.pc.in
-# ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc @ONLY )
-#
-# install( FILES ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc
-# DESTINATION lib${SUFFIX_LIB}/pkgconfig )
-# endif( )
+if( CMAKE_COMPILER_IS_GNUCC )
+ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/clFFT.pc.in
+ ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc @ONLY )
+
+ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc
+ DESTINATION lib${SUFFIX_LIB}/pkgconfig )
+endif( )
# CPack configuration; include the executable into the package
install( TARGETS clFFT
--
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