Skip to content

Commit

Permalink
Fixed: windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNicker committed Oct 19, 2023
1 parent 1fc7ba8 commit 2330516
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FreeTypeWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ set(CMAKE_CXX_STANDARD 20)

option(FREETYPE_WRAPPER_DISABLE_WARNINGS_EXTERNAL_LIBS "Disable warnings for external libraries" TRUE)

if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
add_compile_definitions(NOMINMAX)
endif()

set(TargetName FreeTypeWrapper)

add_subdirectory(./External/freetype2)
Expand Down

0 comments on commit 2330516

Please sign in to comment.