CMake: Fixed syntax in conditional.
authorOscar Fuentes <ofv@wanadoo.es>
Mon, 15 Feb 2010 15:17:05 +0000 (15:17 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Mon, 15 Feb 2010 15:17:05 +0000 (15:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96221 91177308-0d34-0410-b5e6-96231b3b80d8

projects/CMakeLists.txt

index 1a286db9ec660be163198b9536ec544727b4ce7d..415530e33236788ac26f296f6b88e4b2acdf6129 100644 (file)
@@ -4,7 +4,7 @@
 file(GLOB entries *)
 foreach(entry ${entries})
   if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
-    if(NOT (${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt))
+    if(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt)
       add_subdirectory(${entry})
     endif()
   endif()