From 6b923b5f574dbbcfc7cdd2808e32a7d3e46e258e Mon Sep 17 00:00:00 2001
From: Francois Keith <francois.keith@inrialpes.fr>
Date: Mon, 18 Apr 2011 11:04:41 +0200
Subject: [PATCH] Remove a command already defined in python.cmake

---
 src/CMakeLists.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4a50083..41102e9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -61,10 +61,6 @@ FOREACH(lib ${libs})
     )
 ENDFOREACH(lib)
 
-EXEC_PROGRAM(${PYTHON_EXECUTABLE} ARGS "-c \"from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='')\""
-  OUTPUT_VARIABLE PYTHON_SITELIB
-  )
-
 # Install empty __init__.py files in intermediate directories.
 CONFIG_FILES(dynamic_graph/sot/dynamics/hrp2.py)
 
-- 
GitLab