Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] 'not' and 'NOT' are different, but only on windows
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 6 Nov 2015 20:19:06 +0000 (21:19 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 6 Nov 2015 20:31:15 +0000 (21:31 +0100)
tools/cmake/Java.cmake

index 5096792..1fb5127 100644 (file)
@@ -4,7 +4,7 @@
 ##
 
 find_package(Java 1.7 COMPONENTS Runtime Development)
-if (not ${Java_FOUND})
+if (NOT ${Java_FOUND})
   message(FATAL_ERROR "Java not found (need at least Java7). Please install the JDK or disable that option")
 endif()
 set(Java_FOUND 1)