From e2e0a3f22ec2bc11167eeba083b9c84088e089e3 Mon Sep 17 00:00:00 2001 From: Nicola Bertoldi Date: Tue, 10 Nov 2015 09:41:18 +0100 Subject: [PATCH] improved CMake compilation script --- src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cef6d31..5e6fef0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -77,3 +77,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) +