fix running tests

This commit is contained in:
Egor Kuzmin 2020-11-05 12:13:14 +03:00
parent 150f589fb1
commit ca94985a90
2 changed files with 1 additions and 2 deletions

View File

@ -34,5 +34,6 @@ endif ()
# Tests
if (UUID_BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif ()

View File

@ -1,5 +1,3 @@
enable_testing()
# Test target
add_executable(test_${PROJECT_NAME} main.cpp test_generators.cpp test_uuid.cpp)
target_include_directories(test_${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/catch)