diff --git a/dispenso/CMakeLists.txt b/dispenso/CMakeLists.txt index 8294301..db7d66c 100644 --- a/dispenso/CMakeLists.txt +++ b/dispenso/CMakeLists.txt @@ -26,7 +26,7 @@ target_compile_options(dispenso PRIVATE ) if(WIN32) - target_compile_options(dispenso INTERFACE NOMINMAX) + target_compile_options(dispenso PUBLIC NOMINMAX) endif() target_include_directories(dispenso @@ -63,7 +63,7 @@ if (NOT DISPENSO_HAS_ATOMIC_WITHOUT_LIB) endif() if(WIN32) - target_link_libraries(dispenso PUBLIC Synchronization) + target_link_libraries(dispenso PUBLIC Synchronization winmm.lib) endif() if (NOT DISPENSO_STANDALONE)