Don't use hardcoded paths for installation targets

This commit is contained in:
Michał Janiszewski 2017-11-16 11:48:50 +01:00 committed by Chris Marsh
parent c9cf6b3f41
commit 2b248a6cef

View file

@ -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(