blob: 6675f0580d7b8de8a9e92ab8ba6f6b5bfe34ffce [file] [log] [blame] [edit]
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 640643601..e8dec8bcb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -418,6 +418,10 @@ else:
OUTPUT_VARIABLE TulipPythonModulesInstallDir)
STRING(REPLACE "\n" "" TulipPythonModulesInstallDir "${TulipPythonModulesInstallDir}")
+ IF(MINGW)
+ SET(TulipPythonModulesInstallDir ${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages)
+ ENDIF(MINGW)
+
ELSE(TULIP_PYTHON_SITE_INSTALL)
SET(TulipPythonModulesInstallDir ${CMAKE_INSTALL_PREFIX}/${TulipLibInstallDir}/tulip/python)
ENDIF(TULIP_PYTHON_SITE_INSTALL)