[irstlm] 34/78: improved CMake compilation script

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:47:03 UTC 2016


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

giuliopaci-guest pushed a commit to tag adaptiveLM.v0.10
in repository irstlm.

commit 513494eae7d011aaafcd43ff7381b01c1da48de3
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date:   Tue Nov 10 09:38:00 2015 +0100

    improved CMake compilation script
---
 src/CMakeLists.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2717ce9..85bea60 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -80,3 +80,11 @@ ENDFOREACH()
 #INSTALL INCLUDE FILES
 FILE(GLOB includes src *.h)
 INSTALL(FILES ${includes} DESTINATION include)
+
+add_custom_command(OUTPUT LNS
+                   COMMAND ln -s -f -h lib lib64
+		   WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}
+                   COMMENT "creating link from lib to lib64")
+
+add_custom_target(LinkToLib64 ALL DEPENDS LNS)
+

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



More information about the debian-science-commits mailing list