Deactivated text interface.

develop
tastytea 2019-01-12 18:22:05 +01:00
parent 54919796d7
commit 75dc40406c
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
2 changed files with 5 additions and 5 deletions

View File

@ -46,10 +46,10 @@ configure_file (
set(COMMON_LIBRARIES set(COMMON_LIBRARIES
${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs) ${LIBXDG_BASEDIR_LIBRARIES} vsqlitepp stdc++fs)
add_executable(whyblocked # add_executable(whyblocked
src/interface_text.cpp src/whyblocked.cpp) # src/interface_text.cpp src/whyblocked.cpp)
target_link_libraries(whyblocked ${COMMON_LIBRARIES} Qt5::Core) # target_link_libraries(whyblocked ${COMMON_LIBRARIES} Qt5::Core)
install(TARGETS whyblocked DESTINATION ${CMAKE_INSTALL_BINDIR}) # install(TARGETS whyblocked DESTINATION ${CMAKE_INSTALL_BINDIR})
if(NOT WITHOUT_GUI) if(NOT WITHOUT_GUI)
add_executable(whyblocked-gui add_executable(whyblocked-gui

View File

@ -7,7 +7,7 @@ qt5_create_translation(QM_FILES ${TS_SRC_FILES} ${TS_FILES}
OPTIONS -no-obsolete) OPTIONS -no-obsolete)
# qt5_add_translation(QM_FILES ${TS_FILES}) # qt5_add_translation(QM_FILES ${TS_FILES})
add_custom_target(translations ALL DEPENDS ${QM_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) add_dependencies(${CMAKE_PROJECT_NAME}-gui translations)
install(FILES ${QM_FILES} DESTINATION install(FILES ${QM_FILES} DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/qt5/translations) ${CMAKE_INSTALL_DATAROOTDIR}/qt5/translations)