1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00

Testing - Inspector build error on latest CMake #477

Add CMAKE_POLICY_VERSION_MINIMUM to TInspector configuration for Windows and Linux
This commit is contained in:
Pasukhin Dmitry 2025-04-03 13:25:40 +01:00 committed by dpasukhi
parent 653bb48aca
commit 556fb47854

View File

@ -48,6 +48,7 @@ runs:
-D 3RDPARTY_DIR=${{ github.workspace }}//3rdparty-vc14-64 ` -D 3RDPARTY_DIR=${{ github.workspace }}//3rdparty-vc14-64 `
-D OpenCASCADE_DIR=${{ github.workspace }}/occt-install ` -D OpenCASCADE_DIR=${{ github.workspace }}/occt-install `
-D INSTALL_DIR=${{ github.workspace }}/tools/install ` -D INSTALL_DIR=${{ github.workspace }}/tools/install `
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 `
.. ..
- name: Configure TInspector - Linux - name: Configure TInspector - Linux
@ -62,6 +63,7 @@ runs:
-D BUILD_SHARED_LIBS=ON \ -D BUILD_SHARED_LIBS=ON \
-D OpenCASCADE_DIR=${{ github.workspace }}/occt-install \ -D OpenCASCADE_DIR=${{ github.workspace }}/occt-install \
-D INSTALL_DIR=${{ github.workspace }}/tools/install \ -D INSTALL_DIR=${{ github.workspace }}/tools/install \
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
.. ..
- name: Build TInspector - Windows - name: Build TInspector - Windows