aboutsummaryrefslogtreecommitdiff
path: root/package/openpowerlink/openpowerlink-0001-Fix-Linux-Powerlink-user-lib-add-INSTALL.patch
blob: bed878e33844674cbfca5700196a41728ae1e723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From cb6c4ff053e72f7fe5954894aebe2c0d94120b2d Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@openwide.fr>
Date: Thu, 3 Oct 2013 23:22:17 +0200
Subject: [PATCH 5/5] [FIX] Linux Powerlink user lib: add INSTALL

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 Examples/X86/Generic/powerlink_user_lib/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Examples/X86/Generic/powerlink_user_lib/CMakeLists.txt b/Examples/X86/Generic/powerlink_user_lib/CMakeLists.txt
index e67d573..40b7756 100644
--- a/Examples/X86/Generic/powerlink_user_lib/CMakeLists.txt
+++ b/Examples/X86/Generic/powerlink_user_lib/CMakeLists.txt
@@ -329,7 +329,9 @@ ENDIF ()
 #
 # Installation
 #
-IF (WIN32)
+IF (UNIX)
+    INSTALL(TARGETS powerlink ARCHIVE DESTINATION lib)
+ELSEIF (WIN32)
     IF (CFG_X86_WINDOWS_DLL)
         INSTALL(TARGETS openPOWERLINK RUNTIME DESTINATION bin)
     ENDIF (CFG_X86_WINDOWS_DLL)
--
1.8.4