Skip to content

Commit

Permalink
windeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Jul 28, 2024
1 parent ce07ebe commit 87eb491
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit 87eb491

Please sign in to comment.