Tests: Link winmm

issue1247
Nicolas Hake 2015-02-08 12:45:02 +01:00
parent 849f8fe98d
commit 3f5efe65ad
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ if (GTEST_FOUND)
if(HAVE_PTHREAD)
target_link_libraries(tests pthread)
endif()
if(WIN32)
target_link_libraries(tests winmm)
endif()
else()
set(_gtest_missing "")
if (NOT GTEST_INCLUDE_DIR)