XParseGeometry will always be needed for Windows, no need for cmake to figure this...
authorNigel Stewart <nigel.stewart@immersaview.com>
Sun, 21 Feb 2016 20:40:10 +0000 (20:40 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Sun, 21 Feb 2016 20:40:10 +0000 (20:40 +0000)
(cherry picked from commit 55e4430113b528ce40447a96f87cb206cdd39e39)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1792 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_init.c

index b72c74f..ae87212 100644 (file)
@@ -319,7 +319,7 @@ void fgDeinitialize( void )
 
 
 /* -- INTERFACE FUNCTIONS -------------------------------------------------- */
-#if defined(NEED_XPARSEGEOMETRY_IMPL)
+#if defined(NEED_XPARSEGEOMETRY_IMPL) || defined(TARGET_HOST_MS_WINDOWS)
 #   include "util/xparsegeometry_repl.h"
 #endif