[Bf-blender-cvs] [9a21afd18d4] fracture_modifier: fix for cmake failing to detect VS 2017 properly
Martin Felke
noreply at git.blender.org
Thu May 24 23:55:53 CEST 2018
Commit: 9a21afd18d43ec27279f29339be63037a5442f2d
Author: Martin Felke
Date: Thu May 24 23:55:19 2018 +0200
Branches: fracture_modifier
https://developer.blender.org/rB9a21afd18d43ec27279f29339be63037a5442f2d
fix for cmake failing to detect VS 2017 properly
===================================================================
M build_files/cmake/platform/platform_win32_msvc.cmake
===================================================================
diff --git a/build_files/cmake/platform/platform_win32_msvc.cmake b/build_files/cmake/platform/platform_win32_msvc.cmake
index 3b417f79cbe..1824bb8ac52 100644
--- a/build_files/cmake/platform/platform_win32_msvc.cmake
+++ b/build_files/cmake/platform/platform_win32_msvc.cmake
@@ -134,7 +134,7 @@ if(NOT DEFINED LIBDIR)
message(STATUS "32 bit compiler detected.")
set(LIBDIR_BASE "windows")
endif()
- if(MSVC_VERSION EQUAL 1910)
+ if(MSVC_VERSION GREATER 1909)
message(STATUS "Visual Studio 2017 detected.")
set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/${LIBDIR_BASE}_vc14)
elseif(MSVC_VERSION EQUAL 1900)
More information about the Bf-blender-cvs
mailing list