fix running tests
This commit is contained in:
parent
150f589fb1
commit
ca94985a90
@ -34,5 +34,6 @@ endif ()
|
||||
|
||||
# Tests
|
||||
if (UUID_BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
endif ()
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user