From 147168a0b7fc58d1a5c6e9175a82b35beece9fdb Mon Sep 17 00:00:00 2001 From: Jihadist Date: Wed, 11 Jan 2023 12:45:07 +0300 Subject: [PATCH] * try to fix win build --- agg-src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agg-src/CMakeLists.txt b/agg-src/CMakeLists.txt index 78ed2784..b30ef8a1 100644 --- a/agg-src/CMakeLists.txt +++ b/agg-src/CMakeLists.txt @@ -46,10 +46,10 @@ ENDIF( agg_USE_DEBUG ) # for the moment this decides the platform code. IF(WIN32) - ADD_DEFINITIONS( -D_MSWVC_ -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE ) + ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE ) SET( WIN32GUI WIN32 ) - INCLUDE_DIRECTORIES( ${antigrain_SOURCE_DIR}/font_win32_tt ) - SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} font_win32_tt ) +# INCLUDE_DIRECTORIES( ${antigrain_SOURCE_DIR}/font_win32_tt ) +# SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} font_win32_tt ) ENDIF(WIN32) IF(UNIX)