From f6b2e7d5fd1f82f551f1320f66e0e2934948712a Mon Sep 17 00:00:00 2001 From: slothlife Date: Sun, 10 Aug 2014 18:28:38 -0500 Subject: [PATCH] Fix building on Win32 --- cmake/FindOGRE.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindOGRE.cmake b/cmake/FindOGRE.cmake index 4a7f0f3ccb..5608c528cd 100644 --- a/cmake/FindOGRE.cmake +++ b/cmake/FindOGRE.cmake @@ -237,7 +237,7 @@ if (OGRE_STATIC) find_package(OpenGLES2 QUIET) find_package(ZLIB QUIET) find_package(ZZip QUIET) - if (UNIX AND NOT APPLE OR NOT ANDROID) + if (UNIX AND (NOT APPLE AND NOT ANDROID)) find_package(X11 QUIET) find_library(XAW_LIBRARY NAMES Xaw Xaw7 PATHS ${DEP_LIB_SEARCH_DIR} ${X11_LIB_SEARCH_PATH}) if (NOT XAW_LIBRARY OR NOT X11_Xt_FOUND)