From efa527ca8cad3eb72c83fb016afd78256e233417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Mon, 24 Jun 2013 18:56:52 +0200 Subject: [PATCH] Build: Add install rules. --- base.jd/CMakeLists.txt | 2 ++ src/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/base.jd/CMakeLists.txt b/base.jd/CMakeLists.txt index 490f41b..fc5d2f1 100644 --- a/base.jd/CMakeLists.txt +++ b/base.jd/CMakeLists.txt @@ -24,3 +24,5 @@ add_custom_command( add_custom_target(basejd ALL DEPENDS ${basejdout} SOURCES ${SRCS}) + +install(FILES ${basejdout} DESTINATION share) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 66d063d..9451856 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -230,3 +230,5 @@ target_link_libraries(jd ${PHYSFS_LIBRARY} ${ZLIB_LIBRARY} ${Boost_LIBRARIES}) + +install(TARGETS jd RUNTIME DESTINATION bin)