Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | add_subdirectory(base32) | 1 | add_subdirectory(base32) | ||
---|---|---|---|---|---|
2 | add_subdirectory(validators) | 2 | add_subdirectory(validators) | ||
3 | 3 | | |||
4 | set(keysmith_SRCS | 4 | set(keysmith_SRCS | ||
5 | main.cpp | 5 | main.cpp | ||
6 | accountmodel.cpp | 6 | accountmodel.cpp | ||
7 | account.cpp | 7 | account.cpp | ||
8 | ) | 8 | ) | ||
9 | 9 | | |||
10 | set(keysmith_internal_libs base32_lib validator_lib) | 10 | set(keysmith_internal_libs base32_lib validator_lib) | ||
11 | 11 | | |||
12 | qt5_add_resources(RESOURCES resources.qrc) | 12 | qt5_add_resources(RESOURCES resources.qrc) | ||
13 | add_executable(keysmith ${keysmith_SRCS} ${RESOURCES}) | 13 | add_executable(keysmith ${keysmith_SRCS} ${RESOURCES}) | ||
14 | target_include_directories(keysmith SYSTEM PRIVATE ${LIBOATH_INCLUDE_DIRS}) | ||||
14 | target_link_libraries(keysmith | 15 | target_link_libraries(keysmith | ||
15 | Qt5::Core Qt5::Qml Qt5::Quick Qt5::Svg | 16 | Qt5::Core Qt5::Qml Qt5::Quick Qt5::Svg | ||
16 | KF5::I18n | 17 | KF5::I18n | ||
17 | ${LIBOATH_LIBRARIES} | 18 | ${LIBOATH_LIBRARIES} | ||
18 | ${keysmith_internal_libs} | 19 | ${keysmith_internal_libs} | ||
19 | ) | 20 | ) | ||
20 | install(TARGETS keysmith ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 21 | install(TARGETS keysmith ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |