[cmake-developers] [Review request] FindwxWidgets: Improve path detection logic when cross-compiling.

Brad King brad.king at kitware.com
Fri Aug 22 13:08:28 EDT 2014


On 08/22/2014 12:39 PM, Richard Shaw wrote:
> Simple logic update to check if we're cross-compiling to determine if unix or win32 path find style should be used.
> 
> FindwxWidgets: Improve path detection logic when cross-compiling.
[snip]
> +else(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_CROSSCOMPILING)
> +  set(wxWidgets_FIND_STYLE "unix")
> +endif(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_CROSSCOMPILING)

Please use empty else() and endif().  Otherwise, looks good.

-Brad




More information about the cmake-developers mailing list