From c731aaf522ed6049ff1235ecf7952b7b698aaedb Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 3 Nov 2021 15:48:59 +0100 Subject: [PATCH] bos #26509: OCCT creates /home/ng780475/.cmake/packages/OpenCASCADE --- products/CAS.pyconf | 2 +- products/compil_scripts/CAS_7.5.bat | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/products/CAS.pyconf b/products/CAS.pyconf index 390ee42..77e5295 100755 --- a/products/CAS.pyconf +++ b/products/CAS.pyconf @@ -80,7 +80,7 @@ version_7_5_3p1 : { name : "CAS" build_source : "cmake" - cmake_options : "-DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=$FREETYPEDIR -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$FREEIMAGEDIR" + cmake_options : "-DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=$FREETYPEDIR -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$FREEIMAGEDIR -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" get_source : "git" #get_source : "archive" git_info: diff --git a/products/compil_scripts/CAS_7.5.bat b/products/compil_scripts/CAS_7.5.bat index 71f0597..7b8f4df 100644 --- a/products/compil_scripts/CAS_7.5.bat +++ b/products/compil_scripts/CAS_7.5.bat @@ -39,6 +39,9 @@ set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_GL2PS:BOOL=OFF REM no TCL/TK set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF +REM bos #26509 +set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON + set MSBUILDDISABLENODEREUSE=1 echo. -- 2.39.2