aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-08-05 19:29:16 -0700
committerVinson Lee <vlee@vmware.com>2011-08-05 19:29:16 -0700
commitb487ea42cb66f7872841547742d4ac0ff5f36625 (patch)
tree480f6ef2c0aef26bf9be2a9afaa6152239de60f4 /CMakeLists.txt
parenta5180ddcbaabed86aea22312db387faa20afdfe0 (diff)
downloadpiglit-b487ea42cb66f7872841547742d4ac0ff5f36625.tar.gz
cmake: Fix build with CMake 2.6.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8bbbd79c..7cca31ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,9 +19,9 @@ execute_process(
OUTPUT_QUIET
ERROR_QUIET
RESULT_VARIABLE python_version_check_error_code)
-if(NOT(python_version_check_error_code EQUAL 0))
+if(NOT python_version_check_error_code EQUAL 0)
message(FATAL_ERROR "python version 2.6 or greater required")
-endif(NOT(python_version_check_error_code EQUAL 0))
+endif(NOT python_version_check_error_code EQUAL 0)
# Check for the presence of numpy, which is needed to build generated
# tests.
@@ -30,9 +30,9 @@ execute_process(
OUTPUT_QUIET
ERROR_QUIET
RESULT_VARIABLE import_numpy_error_code)
-if(NOT(import_numpy_error_code EQUAL 0))
+if(NOT import_numpy_error_code EQUAL 0)
message(FATAL_ERROR "numpy library not found")
-endif(NOT(import_numpy_error_code EQUAL 0))
+endif(NOT import_numpy_error_code EQUAL 0)
if (NOT MSVC)
CHECK_C_COMPILER_FLAG("-Wall" C_COMPILER_FLAG_WALL)