diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index d013e92..c03135d 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -149,7 +149,7 @@ else() set(wxCOMPILER_PREFIX) endif() -if(MSVC) +if(MSVC AND NOT wxBUILD_DISABLE_PLATFORM_LIB_DIR) if(wxBUILD_SHARED) set(lib_suffix "dll") else()