From 9ff394e72a8e33a6f681679d3545734162dba4da Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Mon, 15 Feb 2016 18:50:48 +0100 Subject: [PATCH] FindwxWidgets.cmake: Treat CygWin as unix rather than undefined --- CMakeModules/FindwxWidgets.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeModules/FindwxWidgets.cmake b/CMakeModules/FindwxWidgets.cmake index 21a5bf3708..5e2965cb1f 100644 --- a/CMakeModules/FindwxWidgets.cmake +++ b/CMakeModules/FindwxWidgets.cmake @@ -198,9 +198,7 @@ endif() if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_HOST_UNIX ) set(wxWidgets_FIND_STYLE "win32") else() - if(CMAKE_HOST_UNIX OR MSYS) - set(wxWidgets_FIND_STYLE "unix") - endif() + set(wxWidgets_FIND_STYLE "unix") endif() #=====================================================================