aboutsummaryrefslogtreecommitdiff
path: root/modules/FindAGG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindAGG.cmake')
-rw-r--r--modules/FindAGG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindAGG.cmake b/modules/FindAGG.cmake
index d4b6df27..178c772b 100644
--- a/modules/FindAGG.cmake
+++ b/modules/FindAGG.cmake
@@ -17,7 +17,7 @@ if (AGG_INCLUDE_DIR AND AGG_LIBRARIES)
SET(AGG_FOUND TRUE)
else (AGG_INCLUDE_DIR AND AGG_LIBRARIES)
-
+IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
INCLUDE(UsePkgConfig)
@@ -25,7 +25,7 @@ else (AGG_INCLUDE_DIR AND AGG_LIBRARIES)
PKGCONFIG(libagg _AGGIncDir _AGGLinkDir _AGGLinkFlags _AGGCflags)
set(AGG_DEFINITIONS ${_AGGCflags})
-
+ENDIF (NOT WIN32)
FIND_PATH(AGG_INCLUDE_DIR agg2/agg_pixfmt_gray.h
${_AGGIncDir}
/usr/include