fix(test): proper registration
This commit is contained in:
@@ -38,12 +38,15 @@ install(TARGETS mosh-me mk-moshable)
|
||||
|
||||
################################################################################
|
||||
|
||||
include(CTest)
|
||||
if (BUILD_TESTING)
|
||||
find_package(Catch2 REQUIRED)
|
||||
include(Catch)
|
||||
add_executable(mosh-me_test
|
||||
${PROJECT_SOURCE_DIR}/test/pipeline.cpp
|
||||
)
|
||||
target_link_libraries(mosh-me_test mosh-me-lib Catch2::Catch2WithMain)
|
||||
catch_discover_tests(mosh-me_test)
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user