cmake install target

This commit is contained in:
Eduardo Bart 2011-05-16 17:59:34 -03:00
parent b3940b487d
commit 8132930766
1 changed files with 5 additions and 0 deletions

View File

@ -130,3 +130,8 @@ TARGET_LINK_LIBRARIES(otclient
${GMP_LIBRARY} ${GMP_LIBRARY}
${ZLIB_LIBRARY} ${ZLIB_LIBRARY}
${ADDITIONAL_LIBRARIES}) ${ADDITIONAL_LIBRARIES})
# installation
SET(DATA_INSTALL_DIR share/otclient)
INSTALL(TARGETS otclient RUNTIME DESTINATION bin)
INSTALL(DIRECTORY data ARCHIVE DESTINATION ${DATA_INSTALL_DIR})