On Mon, Dec 15, 2014 at 3:52 AM, Johannes Zarl <johannes.z...@jku.at> wrote:
>
> Hello Robert,
>
> I don't have a test-environment handy, but it seems like FindwxWidgets
> checks
> for the vc_x64 library directory prefix, not for vc_amd64:
>
> # /usr/share/cmake-3.0/Modules/FindwxWidgets.cmake:511:
>     if(MINGW)
>       set(WX_LIB_DIR_PREFIX gcc)
>     elseif(CMAKE_CL_64)
>       set(WX_LIB_DIR_PREFIX vc_x64)
>     else()
>       set(WX_LIB_DIR_PREFIX vc)
>     endif()
>

A quick and dirty fix may be to add an additional prefix such as
"WS_LIB_DIR_PREFIX2 vc_amd64"

and add appropriate lines to the find_path command... It would obviously
fail for the other two conditions because PREFIX2 wouldn't be set but I
think that's a lot easier than trying to add conditionals based on the wx
version discovered.

I technically support the module but I only run Linux so I have no way to
test...

Richard
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to