[clfft] 10/109: Merge branch 'add-pkgconfig-support' of https://github.com/matze/clFFT into matze-add-pkgconfig

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


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

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

commit 5126ea2a01fcffbba376c40b1a6a36906467985d
Merge: bba631a 881788e
Author: Kent Knox <kent.knox at amd>
Date:   Sat Aug 31 23:18:12 2013 -0500

    Merge branch 'add-pkgconfig-support' of https://github.com/matze/clFFT into matze-add-pkgconfig

 src/library/CMakeLists.txt |  7 +++++++
 src/library/clFFT.pc.in    | 11 +++++++++++
 2 files changed, 18 insertions(+)

diff --cc src/library/CMakeLists.txt
index 2bd83c6,212feb3..bab71d3
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@@ -83,11 -83,27 +83,18 @@@ set_target_properties( clFFT PROPERTIE
  if( UNIX )
  	# Right now, linux has problems compiling dynamic_cast, but the flag below doesn't help
  	# set_target_properties( clFFT PROPERTIES COMPILE_FLAGS "-frtti" )
+ 
+     configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/clFFT.pc.in
+                     ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc @ONLY IMMEDIATE )
+ 
+     install( FILES ${CMAKE_CURRENT_BINARY_DIR}/clFFT.pc
+              DESTINATION lib/pkgconfig
+            )
  endif( )
  
 -if( BUILD64 )
 -	# CPack configuration; include the executable into the package
 -	install( TARGETS clFFT
 -			RUNTIME DESTINATION bin64
 -			LIBRARY DESTINATION lib64
 -			ARCHIVE DESTINATION lib64/import
 -			)
 -else()
 -	# CPack configuration; include the executable into the package
 -	install( TARGETS clFFT
 -			RUNTIME DESTINATION bin32
 -			LIBRARY DESTINATION lib32
 -			ARCHIVE DESTINATION lib32/import
 -			)
 -endif()
 +# CPack configuration; include the executable into the package
 +install( TARGETS clFFT
 +        RUNTIME DESTINATION bin${SUFFIX_BIN}
 +        LIBRARY DESTINATION lib${SUFFIX_LIB}
 +        ARCHIVE DESTINATION lib${SUFFIX_LIB}/import
 +        )

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