From 0d58774b5435366121fb7782faaae045fe5e63dc Mon Sep 17 00:00:00 2001 From: Deve Date: Mon, 19 Oct 2015 19:59:33 +0200 Subject: [PATCH] Fixed mingw compilation --- cmake/FindFreetype.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindFreetype.cmake b/cmake/FindFreetype.cmake index 949504204..279b646e5 100644 --- a/cmake/FindFreetype.cmake +++ b/cmake/FindFreetype.cmake @@ -9,7 +9,7 @@ # FREETYPE_LIBRARIES # Freetype library list -if(MSVC) +if(WIN32) find_path(FREETYPE_INCLUDE_DIRS NAMES freetype/freetype.h PATHS "${PROJECT_SOURCE_DIR}/dependencies/include") find_library(FREETPYE_LIBRARY NAMES freetype PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib") set(FREETYPE_FOUND 1)