cmake install target
This commit is contained in:
parent
b3940b487d
commit
8132930766
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue