Fixed build for MacOS.

Signed-off-by: Felix Geyer <debfx@fobos.de>
This commit is contained in:
Tim Swast 2012-01-08 13:29:13 -06:00 committed by Felix Geyer
parent 2612fc8e44
commit 585e77e85c

View File

@ -107,4 +107,6 @@ add_library( keepassx_core STATIC ${keepassx_SOURCES} )
add_executable( ${PROGNAME} WIN32 MACOSX_BUNDLE main.cpp )
target_link_libraries( ${PROGNAME} keepassx_core ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${GCRYPT_LIBRARIES} ${ZLIB_LIBRARIES} )
install(TARGETS ${PROGNAME} DESTINATION ${BIN_INSTALL_DIR})
install(TARGETS ${PROGNAME}
BUNDLE DESTINATION .
RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT Runtime)