link Tests against library
This commit is contained in:
parent
571e6a73ec
commit
8acfa70f00
|
@ -23,7 +23,7 @@ set(CMAKE_AUTORCC OFF)
|
|||
find_package(GTest REQUIRED)
|
||||
file(GLOB SRCS test/*.cpp)
|
||||
add_executable(Tests ${SRCS})
|
||||
target_link_libraries(Tests GTest::GTest)
|
||||
target_link_libraries(Tests GTest::GTest ESTA)
|
||||
gtest_discover_tests(Tests)
|
||||
|
||||
set(SOURCE_FILES
|
||||
|
|
Loading…
Reference in New Issue