Add install and bundle targets

This commit is contained in:
Chris Marsh committed 2017-07-25 16:00:12 -07:00
1 parent eff657014b
commit fbb9828538
3 files changed
+34 -3

No files matched your search

+16
View File
@@ -19,3 +19,19 @@ endif(UNIX)
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
add_dependencies(discord-rpc clangformat)
# install
install(
TARGETS discord-rpc
EXPORT "discord-rpc"
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib"
INCLUDES DESTINATION "include"
)
install(
FILES
"../include/discord-rpc.h"
DESTINATION "include"
)