diff options
author | Thomas Dinges <blender@dingto.org> | 2012-08-05 00:25:04 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-08-05 00:25:04 +0400 |
commit | ab1badf9a2df33a8d5750c42187100c76703069d (patch) | |
tree | 6760de1283edc789648fcc80fcb945685f545a9d /build_files/cmake/macros.cmake | |
parent | 2044b62370f3e26037699577824201fb684578a1 (diff) |
Windows MSVC libraries:
* Some refactor, use set_lib_path macro again, which simplifies the code a bit.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index bceeb5acc86..b0e6b936ce0 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -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() |