cmake format

This commit is contained in:
Martin Marmsoler 2024-06-26 23:17:11 +02:00
parent 7fa1d4bbe1
commit 895b9df785
2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
if(USE_SYSTEM_LIBSSH2)
if(PKG_CONFIG_FOUND)
pkg_check_modules(LIBSSH2 REQUIRED libssh2)
pkg_check_modules(LIBSSH2 REQUIRED libssh2)
endif()
else()

View File

@ -11,13 +11,11 @@ target_link_libraries(
Qt5::Concurrent)
set_target_properties(index PROPERTIES AUTOMOC ON)
# if(ENABLE_TESTS)
# add_executable(lexer_test lexer_test.cpp)
# target_link_libraries(lexer_test index)
# if(ENABLE_TESTS) add_executable(lexer_test lexer_test.cpp)
# target_link_libraries(lexer_test index)
# add_executable(index_test index_test.cpp)
# target_link_libraries(index_test index Qt5::Widgets)
# endif()
# add_executable(index_test index_test.cpp) target_link_libraries(index_test
# index Qt5::Widgets) endif()
add_executable(indexer indexer.cpp)
target_link_libraries(indexer index)