From 2b248a6cefbf9b23850f4c3685ce0c23b2a92ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 16 Nov 2017 11:48:50 +0100 Subject: [PATCH] Don't use hardcoded paths for installation targets --- src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aa39b64..2dc988d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -113,13 +113,13 @@ install( TARGETS discord-rpc EXPORT "discord-rpc" RUNTIME - DESTINATION "bin" + DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY - DESTINATION "lib" + DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE - DESTINATION "lib" + DESTINATION "${CMAKE_INSTALL_LIBDIR}" INCLUDES - DESTINATION "include" + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" ) install(