don't install the headers when "make install" (#67)

pull/40/head
Nestal Wan 2012-06-18 22:39:43 +08:00
parent e388d0bf34
commit dfe89b19b9
1 changed files with 6 additions and 5 deletions

View File

@ -93,12 +93,13 @@ else()
set ( LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib )
endif()
# don't install libgrive for now
#install(TARGETS grive LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
install(TARGETS grive ARCHIVE DESTINATION ${LIB_INSTALL_DIR} )
install(FILES ${DRIVE_HEADERS} DESTINATION include/grive/drive)
install(FILES ${PROTOCOL_HEADERS} DESTINATION include/grive/protocol)
install(FILES ${UTIL_HEADERS} DESTINATION include/grive/util)
install(FILES ${XML_HEADERS} DESTINATION include/grive/xml)
#install(TARGETS grive ARCHIVE DESTINATION ${LIB_INSTALL_DIR} )
#install(FILES ${DRIVE_HEADERS} DESTINATION include/grive/drive)
#install(FILES ${PROTOCOL_HEADERS} DESTINATION include/grive/protocol)
#install(FILES ${UTIL_HEADERS} DESTINATION include/grive/util)
#install(FILES ${XML_HEADERS} DESTINATION include/grive/xml)
IF ( CPPUNIT_FOUND )
message("-- Building unitary tests along with the library and the binary")