check PYTHON_INSTALL_DIR before making directory.
@@ -7,7 +7,9 @@ if DEFINED DESTDIR (
cd "@INSTALL_CMD_WORKING_DIRECTORY@"
+if NOT EXIST "@SETUPTOOLS_INSTALL_PREFIX@\@PYTHON_INSTALL_DIR@\" (
mkdir "@SETUPTOOLS_INSTALL_PREFIX@\@PYTHON_INSTALL_DIR@"
+)
set "PYTHONPATH=@SETUPTOOLS_INSTALL_PREFIX@\@PYTHON_INSTALL_DIR@;@CMAKE_BINARY_DIR@\@PYTHON_INSTALL_DIR@"
set "CATKIN_BINARY_DIR=@CMAKE_BINARY_DIR@"
