mingw: fix pool tests compilation

This commit is contained in:
David Fort 2022-01-06 09:39:02 +01:00 committed by akallabeth
parent bfe8b464be
commit da17787f9a

View File

@ -18,6 +18,10 @@ create_test_sourcelist(${MODULE_PREFIX}_SRCS
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
target_link_libraries(${MODULE_NAME} winpr)
if (MINGW)
target_link_libraries(${MODULE_NAME} ucrt)
endif()
set_target_properties(${MODULE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${TESTING_OUTPUT_DIRECTORY}")