Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-08-05 00:25:04 +0400
committerThomas Dinges <blender@dingto.org>2012-08-05 00:25:04 +0400
commitab1badf9a2df33a8d5750c42187100c76703069d (patch)
tree6760de1283edc789648fcc80fcb945685f545a9d /build_files
parent2044b62370f3e26037699577824201fb684578a1 (diff)
Windows MSVC libraries:
* Some refactor, use set_lib_path macro again, which simplifies the code a bit.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/macros.cmake7
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()