[segyio] 272/376: Export to correct config.cmake file

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:43 UTC 2017


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

jokva-guest pushed a commit to branch debian
in repository segyio.

commit f25eb9fe9ac48cebad548b4d6a3a08d5e150a12c
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Wed Apr 19 12:00:06 2017 +0200

    Export to correct config.cmake file
---
 lib/CMakeLists.txt    | 2 +-
 python/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 17da888..ad399ed 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -58,7 +58,7 @@ install(TARGETS segyio-static segyio-shared
         LIBRARY DESTINATION lib
         RUNTIME DESTINATION bin)
 install(DIRECTORY include/ DESTINATION include)
-install(EXPORT segyio DESTINATION share/segyio/cmake)
+install(EXPORT segyio DESTINATION share/segyio/cmake FILE segyio-config.cmake)
 export(TARGETS segyio-static segyio-shared FILE segyio-config.cmake)
 
 #
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 66e839d..0823a78 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -36,7 +36,7 @@ endif()
 add_library(_segyio MODULE segyio/_segyio.c)
 target_include_directories(_segyio PRIVATE ${PYTHON_INCLUDE_DIRS})
 target_link_libraries(_segyio segyio ${PYTHON_LIBRARIES})
-export(TARGETS _segyio segyio-shared segyio-static FILE segyio-config.cmake)
+export(TARGETS _segyio segyio-shared segyio-static APPEND FILE segyio-config.cmake)
 
 add_python_package(pysegyio segyio
                     TARGETS _segyio

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



More information about the debian-science-commits mailing list