← Back to team overview

kicad-developers team mailing list archive

[PATCH v2 3/3] 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 2206fbf..14cfdc4 100644
--- a/CMakeModules/FindwxWidgets.cmake
+++ b/CMakeModules/FindwxWidgets.cmake
@@ -199,9 +199,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()
 
 #=====================================================================

References