Windows MSVC libraries:
[blender.git] / build_files / cmake / macros.cmake
index bceeb5acc8668d819e9c2e1f9cd5ef14e5a9d593..b0e6b936ce0c50c6f5cc3c0b71615c244f13adfb 100644 (file)
@@ -719,12 +719,9 @@ macro(set_lib_path
                lvar
                lproj)
 
-       
-       if(MSVC10 AND EXISTS ${LIBDIR}/vc2010/${lproj})
-               set(${lvar} ${LIBDIR}/vc2010/${lproj})
+       if(MSVC10)
+               set(${lvar} ${LIBDIR}/${lproj}/vc2010)
        else()
                set(${lvar} ${LIBDIR}/${lproj})
        endif()
-
-
 endmacro()