[med-svn] [foomed] 01/01: add patches to fix some error
Corentin Desfarges
corentin-guest at moszumanska.debian.org
Thu Feb 19 10:56:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
corentin-guest pushed a commit to branch master
in repository foomed.
commit e98b0615f6822f5b9499ec0252a4bab47646a727
Author: Corentin Desfarges <corentin.desfarges.dev at gmail.com>
Date: Thu Feb 19 11:56:46 2015 +0100
add patches to fix some error
---
lib/CMakeLists.txt | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index df1af7b..9286894 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,9 +1,5 @@
-cmake_minimum_required (VERSION 2.8.11)
+add_library( mylib SHARED lib.cpp )
-project (MAIN)
+target_include_directories( mylib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} )
-set( CMAKE_INSTALL_PREFIX /usr )
-
-
-add_subdirectory( lib )
-add_subdirectory( bin )
+INSTALL( TARGETS mylib LIBRARY DESTINATION lib/corentin )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/foomed.git
More information about the debian-med-commit
mailing list