Deactivated text interface.
parent
54919796d7
commit
75dc40406c
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue