diff --git a/scripts/cmake/CompilerSetup.cmake b/scripts/cmake/CompilerSetup.cmake
index 7766ab2f0baf6e66da1a3347cf2cfc997c35dd7f..1f8650a8d8b8aa79cebab9c406c52c21dcf402f6 100644
--- a/scripts/cmake/CompilerSetup.cmake
+++ b/scripts/cmake/CompilerSetup.cmake
@@ -47,8 +47,8 @@ IF(COMPILER_IS_GCC)
 ENDIF() # COMPILER_IS_GCC
 
 IF(COMPILER_IS_CLANG)
-	IF(CLANG_VERSION_STRING VERSION_LESS "3.3")
-		MESSAGE(FATAL_ERROR "Aborting: Clang 3.3 is requiered! Found version ${CLANG_VERSION_STRING}")
+	IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.3")
+		MESSAGE(FATAL_ERROR "Aborting: Clang 3.3 is required! Found version ${CMAKE_CXX_COMPILER_VERSION}")
 	ENDIF()
 	SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -isystem ${CMAKE_SOURCE_DIR}/ThirdParty/ -Weverything -Wno-c++98-compat-pedantic")
 ENDIF() # COMPILER_IS_CLANG