]> git.cworth.org Git - apitrace-tests/commitdiff
Fix test to correctly use cmake feature to find python executable
authorCarl Worth <cworth@cworth.org>
Mon, 28 Jan 2013 10:55:12 +0000 (21:55 +1100)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Apr 2013 21:27:06 +0000 (14:27 -0700)
On my system, at least, there was no ${python} variable set, so the
tests for PIL were incorrectly failing, (such that many tests were not
being run at all).

CMakeLists.txt

index 0a8dcfec3b90640be7fc3f25af7e2d4b93b28912..d4f11ad8c96d27d04dec864bfa9c5f821baebe5e 100644 (file)
@@ -1,5 +1,5 @@
 cmake_minimum_required (VERSION 2.8)
 cmake_minimum_required (VERSION 2.8)
-
+INCLUDE (FindPythonInterp)
 
 # Use clang on MacOSX. gcc doesn't support __thread key, and Apple has
 # abandoned it for clang.  This must be done before the project is defined.
 
 # Use clang on MacOSX. gcc doesn't support __thread key, and Apple has
 # abandoned it for clang.  This must be done before the project is defined.