FindwxWidgets: Look in x64 directories for MSVC (#14393)
When compiling the 64 bit version of wxWidgets using nmake the library folders become vc_x64_lib and vc_x64_dll and can coexist with the win32 version.
This commit is contained in:
parent
1e11708a56
commit
870f91e389
|
@ -475,6 +475,8 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
|
||||||
# settings.
|
# settings.
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(WX_LIB_DIR_PREFIX gcc)
|
set(WX_LIB_DIR_PREFIX gcc)
|
||||||
|
elseif(CMAKE_CL_64)
|
||||||
|
set(WX_LIB_DIR_PREFIX vc_x64)
|
||||||
else()
|
else()
|
||||||
set(WX_LIB_DIR_PREFIX vc)
|
set(WX_LIB_DIR_PREFIX vc)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue