summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaMichel <mw.pub@welter-4d.de>2016-09-06 01:16:30 +0200
committerDaMichel <mw.pub@welter-4d.de>2016-09-06 01:16:30 +0200
commit35bf0e9fc52596caaac0335a6ab58279b97bc94e (patch)
treebe6c9bdb55632032fd1bc67c6a63b018960a5838
parent4712b6760f15b024e0913db045553528504c29cd (diff)
cmake: checking for some env var is not the way to validate the proper build environment
-rw-r--r--cmake/opentrack-boilerplate.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 0778307c..0208dcae 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -62,9 +62,6 @@ function(opentrack_fixup_subsystem n)
else()
set(subsystem WINDOWS)
endif()
- if("$ENV{LIBPATH}" STREQUAL "")
- message(FATAL_ERROR "no vcvars.bat run; probably no editbin in PATH")
- endif()
set(loc "$<TARGET_FILE:${n}>")
get_property(type TARGET "${n}" PROPERTY TYPE)
if (NOT type STREQUAL "STATIC_LIBRARY")