summaryrefslogtreecommitdiff
path: root/source/l/libvncserver/libvncserver.CMAKE_INSTALL_LIBDIR.diff
blob: 4271d57cbdf60ecef7f8bc252a8492f0ea021c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./CMakeLists.txt.orig	2019-01-06 13:09:30.000000000 -0600
+++ ./CMakeLists.txt	2019-12-28 13:27:44.893589607 -0600
@@ -666,8 +666,8 @@
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libvncclient.pc.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libvncclient.pc @ONLY)
 
 
-install_targets(/lib vncserver)
-install_targets(/lib vncclient)
+install_targets(/${CMAKE_INSTALL_LIBDIR} vncserver)
+install_targets(/${CMAKE_INSTALL_LIBDIR} vncclient)
 install_files(/include/rfb FILES
     rfb/keysym.h
     rfb/rfb.h
@@ -677,7 +677,7 @@
     rfb/rfbregion.h
 )
 
-install_files(/lib/pkgconfig FILES
+install_files(/${CMAKE_INSTALL_LIBDIR}/pkgconfig FILES
     libvncserver.pc
     libvncclient.pc
 )