summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
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)