File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,16 @@ enable_testing()
3434add_library (sqlite_modern_cpp INTERFACE )
3535target_include_directories (sqlite_modern_cpp INTERFACE hdr/)
3636
37- add_executable (tests ${TEST_SOURCES} )
38- target_include_directories (tests INTERFACE ${SQLITE3_INCLUDE_DIRS} )
37+ add_executable (tests_runner ${TEST_SOURCES} )
38+ target_include_directories (tests_runner INTERFACE ${SQLITE3_INCLUDE_DIRS} )
3939if (ENABLE_SQLCIPHER_TESTS)
40- target_link_libraries (tests Catch::Catch sqlite_modern_cpp sqlite3::sqlite3 -lsqlcipher)
40+ target_link_libraries (tests_runner Catch::Catch sqlite_modern_cpp sqlite3::sqlite3 -lsqlcipher)
4141else ()
42- target_link_libraries (tests Catch::Catch sqlite_modern_cpp sqlite3::sqlite3)
42+ target_link_libraries (tests_runner Catch::Catch sqlite_modern_cpp sqlite3::sqlite3)
4343endif ()
4444
45- catch_discover_tests(tests )
46- target_compile_options (tests PUBLIC $<$<CXX_COMPILER_ID:MSVC >:/Zc:__cplusplus> )
45+ catch_discover_tests(tests_runner )
46+ target_compile_options (tests_runner PUBLIC $<$<CXX_COMPILER_ID:MSVC >:/Zc:__cplusplus> )
4747
4848# Place the file in the source directory, permitting us to place a single configuration file for YCM there.
4949# YCM is the code-completion engine for (neo)vim https://github.com/Valloric/YouCompleteMe
You can’t perform that action at this time.
0 commit comments