force clang dependency when NOPASCAL is set webgl
authorkoda
Fri, 11 Oct 2013 11:55:31 +0200
branchwebgl
changeset 9282 92af50454cf2
parent 9279 69161099d6d9
child 9521 8054d9d775fd
force clang dependency when NOPASCAL is set
CMakeLists.txt
--- a/CMakeLists.txt	Mon Jun 24 10:51:43 2013 +0200
+++ b/CMakeLists.txt	Fri Oct 11 11:55:31 2013 +0200
@@ -131,7 +131,7 @@
 
 #build engine without freepascal
 if(${NOPASCAL})
-    find_package(Clang)
+    find_package(Clang REQUIRED)
 
     if(CLANG_VERSION VERSION_LESS "3.0")
         message(FATAL_ERROR "LLVM/Clang compiler required version is 3.0 but version ${CLANG_VERSION} was found!")