소스 검색

Added install target, thanks to Dominik Schmidt <dev@dominik-schmidt.de> for the patch

Klaas Freitag 14 년 전
부모
커밋
b7ca0ef36a
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      src/CMakeLists.txt

+ 7 - 0
src/CMakeLists.txt

@@ -60,6 +60,7 @@ if(CSYNC_FOUND)
   )
   include_directories(${CSYNC_INCLUDE_DIR})
 endif(CSYNC_FOUND)
+
 qt4_automoc(${mirall_SRCS})
 
 
@@ -74,3 +75,9 @@ if(CSYNC_FOUND)
   target_link_libraries(mirall ${CSYNC_LIBRARY})
 endif(CSYNC_FOUND)
 
+install(TARGETS mirall
+	RUNTIME DESTINATION bin
+	LIBRARY DESTINATION lib
+	ARCHIVE DESTINATION lib
+)
+