CMake: add winmm.dll as Windows dependency

Fixes: e0e2346c22 ("NO SUPPORT_BUSY_WAIT_LOOP by default")
This commit is contained in:
Ahmad Fatoum 2019-05-10 08:16:39 +02:00
parent 3f7b14aeed
commit e8a376c80c
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B

View File

@ -73,6 +73,7 @@ if(${PLATFORM} MATCHES "Desktop")
endif()
elseif(WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
set(LIBS_PRIVATE ${LIBS_PRIVATE} winmm)
else()
find_library(pthread NAMES pthread)
find_package(OpenGL QUIET)