From: Carl Worth Date: Mon, 28 Jan 2013 10:55:12 +0000 (+1100) Subject: Fix test to correctly use cmake feature to find python executable X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=commitdiff_plain;h=77c327af19869345bd729f13f4a75db6a4e13a74 Fix test to correctly use cmake feature to find python executable 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). --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a8dcfe..d4f11ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ 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.