Skip to content

Commit

Permalink
Preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaOtocinclus committed Feb 20, 2024
1 parent 9e6f245 commit 02464a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dispenso/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 02464a8

Please sign in to comment.