summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-18 00:11:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-18 00:11:46 +0100
commitfe1d213a5383b7967e6eb08685c513166996f032 (patch)
tree382a8bca089cd88c172fb192b2fbc9bf20b30598 /cmake/msvc.cmake
parentb2ea38cdacb044b8f90753062e8dfb75a244afb0 (diff)
cmake/msvc: don't sanity-check vcvarsall run
Depended on VC++ 14.
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index e7e0ced3..dbdfa4db 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -97,13 +97,6 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
if((CMAKE_GENERATOR STREQUAL "NMake Makefiles") OR (CMAKE_GENERATOR STREQUAL "NMake Makefiles JOM"))
- if("$ENV{LIBPATH}" STREQUAL "")
- message("Error, no environment. Run:")
- message("--\n")
- message("cmd /k call \"%vs140comntools%\"\\..\\..\\vc\\bin\\vcvars32.bat & cd /d \"${CMAKE_BINARY_DIR}\"")
- message("\n--")
- message(FATAL_ERROR "cannot continue.")
- endif()
if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
set(warn-flag-found FALSE)
foreach (i CMAKE_CXX_FLAGS CMAKE_C_FLAGS)