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)