From 52fdc8e546d57375058ef0a3e6a6797ee4755c24 Mon Sep 17 00:00:00 2001 From: Keith Francois <francois.keith@gmail.com> Date: Wed, 6 Jul 2011 11:31:29 +0200 Subject: [PATCH] Correct the handling of python modules Remove the command MAKE_DIRECTORY that has been moved in python.cmake --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 346660d..62f2571 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -58,8 +58,7 @@ FOREACH(lib ${libs}) INSTALL(TARGETS ${lib} DESTINATION lib/plugin) # build python submodule STRING(REPLACE - _ PYTHON_LIBRARY_NAME ${lib}) - ADD_DEPENDENCIES(${lib} MKDIR_${PYTHON_LIBRARY_NAME}) - FILE(MAKE_DIRECTORY dynamic_graph/sot/dynamics/${PYTHON_LIBRARY_NAME}) + DYNAMIC_GRAPH_PYTHON_MODULE("sot/dynamics/${PYTHON_LIBRARY_NAME}" ${lib} sot-dynamics-${PYTHON_LIBRARY_NAME}-wrap -- GitLab