From 13b930ca7caa06d7ed9da3f1de0854fd7d103563 Mon Sep 17 00:00:00 2001 From: Sphinx Date: Wed, 7 Jun 2017 00:43:57 +0200 Subject: [PATCH] Add msvc14 toolset support --- Lib/LibStatic/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/LibStatic/CMakeLists.txt b/Lib/LibStatic/CMakeLists.txt index c116ee5f0..67e98587e 100644 --- a/Lib/LibStatic/CMakeLists.txt +++ b/Lib/LibStatic/CMakeLists.txt @@ -17,7 +17,7 @@ IF(WIN32 AND NOT UNIX) IF(NOT ${CMAKE_GENERATOR} STREQUAL "MSYS Makefiles") - IF( MSVC10 OR MSVC11 OR MSVC12 ) + IF( MSVC10 OR MSVC11 OR MSVC12 OR MSVC14 ) set_target_properties(RakNetLibStatic PROPERTIES STATIC_LIBRARY_FLAGS "/NODEFAULTLIB:\"LIBCD.lib LIBCMTD.lib MSVCRT.lib\"" ) ELSE() set_target_properties(RakNetLibStatic PROPERTIES STATIC_LIBRARY_FLAGS "/NODEFAULTLIB:"LIBCD.lib LIBCMTD.lib MSVCRT.lib"" )