Package: libfreesrp / 0.3.0-2

support-multiarch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
 cmake_minimum_required(VERSION 2.8.4)
 project(libfreesrp)
+include(GNUInstallDirs)
 
 set(VERSION_MAJOR "0")
 set(VERSION_MINOR "3")
@@ -59,8 +60,8 @@
 target_link_libraries(freesrp-ctl freesrp)
 
 # Install library
-install(TARGETS freesrp LIBRARY DESTINATION lib)
-install(FILES ${LIBFREESRP_INCLUDE_FILES} DESTINATION include)
+install(TARGETS freesrp LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(FILES ${LIBFREESRP_INCLUDE_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
 
 # Install freesrp-ctl and freesrp-io utilities
-install(TARGETS freesrp-ctl freesrp-io RUNTIME DESTINATION bin)
+install(TARGETS freesrp-ctl freesrp-io RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})