Deactivated text interface.
This commit is contained in:
parent
54919796d7
commit
75dc40406c
|
@ -46,10 +46,10 @@ configure_file (
|
|||
set(COMMON_LIBRARIES
|
||||
${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs)
|
||||
|
||||
add_executable(whyblocked
|
||||
src/interface_text.cpp src/whyblocked.cpp)
|
||||
target_link_libraries(whyblocked ${COMMON_LIBRARIES} Qt5::Core)
|
||||
install(TARGETS whyblocked DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
# add_executable(whyblocked
|
||||
# src/interface_text.cpp src/whyblocked.cpp)
|
||||
# target_link_libraries(whyblocked ${COMMON_LIBRARIES} Qt5::Core)
|
||||
# install(TARGETS whyblocked DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
||||
if(NOT WITHOUT_GUI)
|
||||
add_executable(whyblocked-gui
|
||||
|
|
|
@ -7,7 +7,7 @@ qt5_create_translation(QM_FILES ${TS_SRC_FILES} ${TS_FILES}
|
|||
OPTIONS -no-obsolete)
|
||||
# qt5_add_translation(QM_FILES ${TS_FILES})
|
||||
add_custom_target(translations ALL DEPENDS ${QM_FILES})
|
||||
add_dependencies(${CMAKE_PROJECT_NAME} translations)
|
||||
# add_dependencies(${CMAKE_PROJECT_NAME} translations)
|
||||
add_dependencies(${CMAKE_PROJECT_NAME}-gui translations)
|
||||
install(FILES ${QM_FILES} DESTINATION
|
||||
${CMAKE_INSTALL_DATAROOTDIR}/qt5/translations)
|
||||
|
|
Loading…
Reference in New Issue
Block a user