From: "A. Maitland Bottoms" <bottoms@debian.org>
Forwarded: not-needed
Description: support multiarch

Use CMake GNUInstallDirs to make Debian multiarch paths.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
-cmake_minimum_required(VERSION 2.8.4)
+cmake_minimum_required(VERSION 3.13.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})
