From 895b9df7854b626f874a4e21f44b3321d3bac0e7 Mon Sep 17 00:00:00 2001 From: Martin Marmsoler Date: Wed, 26 Jun 2024 23:17:11 +0200 Subject: [PATCH] cmake format --- dep/libssh2/CMakeLists.txt | 2 +- src/index/CMakeLists.txt | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dep/libssh2/CMakeLists.txt b/dep/libssh2/CMakeLists.txt index 58d2b962..28fc3a90 100644 --- a/dep/libssh2/CMakeLists.txt +++ b/dep/libssh2/CMakeLists.txt @@ -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() diff --git a/src/index/CMakeLists.txt b/src/index/CMakeLists.txt index d4c04f27..33500502 100644 --- a/src/index/CMakeLists.txt +++ b/src/index/CMakeLists.txt @@ -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)