From 91acfb051a3360d3d1cd8e35ea24228aa73174b1 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Fri, 25 Aug 2023 09:28:48 -0500 Subject: [PATCH] Fix python install directory (#433) Signed-off-by: Addisu Z. Taddese --- python/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 3577928ce..ea5f46b7d 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -27,9 +27,11 @@ if(USE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION) endif() else() # If not a system installation, respect local paths - set(GZ_PYTHON_INSTALL_PATH ${GZ_LIB_INSTALL_DIR}/python/gz) + set(GZ_PYTHON_INSTALL_PATH ${GZ_LIB_INSTALL_DIR}/python) endif() +set(GZ_PYTHON_INSTALL_PATH "${GZ_PYTHON_INSTALL_PATH}/gz") + # Set the build location and install location for a CPython extension function(configure_build_install_location _library_name) # Install library for actual use