Skip to content

Commit

Permalink
cmake format
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Jun 26, 2024
1 parent 7fa1d4b commit 895b9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dep/libssh2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
10 changes: 4 additions & 6 deletions src/index/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 895b9df

Please sign in to comment.