Skip to content

Commit

Permalink
Merge pull request #19 from dmage/install
Browse files Browse the repository at this point in the history
Add install target (bug #18)
  • Loading branch information
dmage committed Nov 7, 2015
2 parents 45d2dbd + 6fb10e9 commit 20c77a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions co2mond/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ add_executable(co2mond ${SRC_LIST})
target_link_libraries(co2mond
co2mon
${HIDAPI_LIBRARIES})

install(TARGETS co2mond
RUNTIME DESTINATION bin)
4 changes: 4 additions & 0 deletions libco2mon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ aux_source_directory(src SRC_LIST)
add_library(co2mon ${SRC_LIST})
target_link_libraries(co2mon
${HIDAPI_LIBRARIES})

install(TARGETS co2mon
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

0 comments on commit 20c77a9

Please sign in to comment.