Commit a733c0e3 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: check if not DEFINED

parent 4278c753
......@@ -3,7 +3,7 @@ function(prepare_search_dirs search_dirs_result)
set(search_dirs)
if(MSVC)
if(DEFINED ENV{UniversalCRTSdkDir})
if(NOT DEFINED ENV{UniversalCRTSdkDir})
message(FATAL_ERROR "UniversalCRTSdkDir variable not set. Cannot continue")
endif()
if(NOT DEFINED ENV{VCINSTALLDIR})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment