diff --git a/src/CppUTest/CMakeLists.txt b/src/CppUTest/CMakeLists.txt | |
index 736777f5..d9a592f2 100644 | |
--- a/src/CppUTest/CMakeLists.txt | |
+++ b/src/CppUTest/CMakeLists.txt | |
@@ -50,7 +50,7 @@ set(CppUTest_headers | |
add_library(CppUTest STATIC ${CppUTest_src} ${CppUTest_headers}) | |
if (WIN32) | |
- target_link_libraries(CppUTest winmm.lib) | |
+ target_link_libraries(CppUTest winmm) | |
endif (WIN32) | |
install(FILES ${CppUTest_headers} DESTINATION include/CppUTest) | |
install(TARGETS CppUTest |