Install the keepassx binary and database icons.

This commit is contained in:
Felix Geyer 2011-12-29 23:50:22 +01:00
parent ccdeadfd2a
commit 752c720226
3 changed files with 31 additions and 0 deletions

View file

@ -50,6 +50,17 @@ else( APPLE OR MINGW )
set( PROGNAME keepassx )
endif( APPLE OR MINGW )
if(MINGW)
set(BIN_INSTALL_DIR "")
set(DATA_INSTALL_DIR "share")
elseif(APPLE)
set(BIN_INSTALL_DIR "")
set(DATA_INSTALL_DIR "Contents/Resources")
else(MINGW)
set(BIN_INSTALL_DIR "bin")
set(DATA_INSTALL_DIR "share/keepassx")
endif( MINGW )
if( WITH_TESTS )
enable_testing()
endif( WITH_TESTS )
@ -82,6 +93,7 @@ endif(NOT ZLIB_SUPPORTS_GZIP)
include_directories(${QT_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
add_subdirectory(src)
add_subdirectory(share)
add_subdirectory(utils)
if( WITH_TESTS )
add_subdirectory(tests)