Browse Source

CMake: add winmm.dll as Windows dependency

Fixes: e0e2346c22 ("NO SUPPORT_BUSY_WAIT_LOOP by default")
pull/838/head
Ahmad Fatoum 5 years ago
parent
commit
e8a376c80c
No known key found for this signature in database GPG Key ID: C3EAC3DE9321D59B
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/CMakeLists.txt

+ 1
- 0
src/CMakeLists.txt 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)

Loading…
Cancel
Save