### unit tests ###

set(unittest_SRCS
    main.cpp
    telnetparsertest.cpp
)

add_executable(unittest ${unittest_SRCS})
target_link_libraries(unittest gmock gtest Qt5::Test q5250)
target_include_directories(unittest PRIVATE ${CMAKE_SOURCE_DIR}/lib)

add_test(NAME unittest COMMAND unittest)

### unit tests ###

set(unittest_SRCS
    main.cpp
    telnetparsertest.cpp
)

add_executable(unittest ${unittest_SRCS})
target_link_libraries(unittest gmock gtest q5250)
target_include_directories(unittest PRIVATE ${CMAKE_SOURCE_DIR}/lib)
qt5_use_modules(unittest Core Test)

add_test(NAME unittest COMMAND unittest)

Revert back to qt5_use_modules for travis-ci
Revert back to qt5_use_modules for travis-ci
