Skip to content

Commit

Permalink
Added NOMINMAX to CMakeLists.txt (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoNasci authored Oct 18, 2024
1 parent 9d68851 commit 0362ef4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ option(DPP_TEST_VCPKG "Force VCPKG build without VCPKG installed (for developmen
include(CheckCXXSymbolExists)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_compile_definitions(DPP_BUILD)
add_compile_definitions(NOMINMAX)

include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/colour.cmake")

Expand Down Expand Up @@ -150,4 +151,4 @@ endif()

if (NOT WIN32)
target_link_libraries(dpp PRIVATE std::filesystem)
endif()
endif()

0 comments on commit 0362ef4

Please sign in to comment.