fix unittests build on mingw64

This commit is contained in:
Scott E. Graves 2024-01-27 12:31:21 -06:00
parent f6cdf2914c
commit 21bcd0780c

View File

@ -60,6 +60,10 @@ if (REPERTORY_ENABLE_TESTING)
)
endif()
target_compile_definitions(unittests PUBLIC
REPERTORY_TESTING
)
target_include_directories(unittests PUBLIC
${GTEST_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/tests