summaryrefslogtreecommitdiffstats
path: root/CMake
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-04-21 17:07:48 +0200
committerGitHub <noreply@github.com>2021-04-21 17:07:48 +0200
commit1100b04b59b461f1a2cc3dfe7b53b5473daa7992 (patch)
treeef38a4a731e0c03c6f923708bac0249560ab611f /CMake
parentResets ticks alive on death (#5197) (diff)
downloadcuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar.gz
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar.bz2
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar.lz
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar.xz
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.tar.zst
cuberite-1100b04b59b461f1a2cc3dfe7b53b5473daa7992.zip
Diffstat (limited to '')
-rw-r--r--CMake/AddDependencies.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/AddDependencies.cmake b/CMake/AddDependencies.cmake
index e9f24db09..584fcb011 100644
--- a/CMake/AddDependencies.cmake
+++ b/CMake/AddDependencies.cmake
@@ -73,9 +73,9 @@ function(link_dependencies TARGET)
tolualib
)
- # Link process information library:
+ # Link process information, multimedia (for sleep resolution) libraries:
if (WIN32)
- target_link_libraries(${TARGET} PRIVATE Psapi.lib)
+ target_link_libraries(${TARGET} PRIVATE Psapi.lib Winmm.lib)
endif()
# Special case handling for libevent pthreads: