From 87eb491afd27ca93368298f4a9091f11d1fa6545 Mon Sep 17 00:00:00 2001 From: Jerboa-app Date: Sun, 28 Jul 2024 10:41:50 +0100 Subject: [PATCH] windeps --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8525e4a6..3a03a8c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,7 +146,11 @@ if(BENCHMARK) target_compile_definitions(Hop PUBLIC BENCHMARK) endif() -target_link_libraries(Hop PUBLIC jGL ${GLEW_LIBRARIES} zlibstatic stduuid Lua Miniaudio) +if (WINDOWS) + target_link_libraries(Hop PUBLIC jGL ${GLEW_LIBRARIES} zlibstatic stduuid Lua Miniaudio "winmm") +else() + target_link_libraries(Hop PUBLIC jGL ${GLEW_LIBRARIES} zlibstatic stduuid Lua Miniaudio) +endif() if (NOT ANDROID) add_subdirectory(tools/)