define CMAKE_PREFIX_PATH
This commit is contained in:
parent
747e9e9459
commit
d7694bc977
|
@ -29,6 +29,7 @@ jobs:
|
||||||
qtversion: "5.15.2",
|
qtversion: "5.15.2",
|
||||||
qtdirkey: "Qt5_DIR",
|
qtdirkey: "Qt5_DIR",
|
||||||
qtdirvalue: "../Qt/5.15.2/msvc2019_64/lib/cmake/Qt5",
|
qtdirvalue: "../Qt/5.15.2/msvc2019_64/lib/cmake/Qt5",
|
||||||
|
qtprefixdir: "../Qt/5.15.2/msvc2019_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -46,6 +47,7 @@ jobs:
|
||||||
qtversion: "6.2.4",
|
qtversion: "6.2.4",
|
||||||
qtdirkey: "Qt6_DIR",
|
qtdirkey: "Qt6_DIR",
|
||||||
qtdirvalue: "../Qt/6.2.4/msvc2019_64/lib/cmake/Qt6",
|
qtdirvalue: "../Qt/6.2.4/msvc2019_64/lib/cmake/Qt6",
|
||||||
|
qtprefixdir: "../Qt/6.2.4/msvc2019_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -63,6 +65,7 @@ jobs:
|
||||||
qtversion: "5.15.2",
|
qtversion: "5.15.2",
|
||||||
qtdirkey: "Qt5_DIR",
|
qtdirkey: "Qt5_DIR",
|
||||||
qtdirvalue: "../Qt/5.15.2/msvc2019_64/lib/cmake/Qt5",
|
qtdirvalue: "../Qt/5.15.2/msvc2019_64/lib/cmake/Qt5",
|
||||||
|
qtprefixdir: "../Qt/5.15.2/msvc2019_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -80,6 +83,7 @@ jobs:
|
||||||
qtversion: "6.2.4",
|
qtversion: "6.2.4",
|
||||||
qtdirkey: "Qt6_DIR",
|
qtdirkey: "Qt6_DIR",
|
||||||
qtdirvalue: "../Qt/6.2.4/msvc2019_64/lib/cmake/Qt6",
|
qtdirvalue: "../Qt/6.2.4/msvc2019_64/lib/cmake/Qt6",
|
||||||
|
qtprefixdir: "../Qt/6.2.4/msvc2019_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -94,8 +98,9 @@ jobs:
|
||||||
cmake:
|
cmake:
|
||||||
{
|
{
|
||||||
qtversion: "5.15.2",
|
qtversion: "5.15.2",
|
||||||
qtdirkey: "Qt5_DIR",
|
qtdirkey: "Qt5_DIR",
|
||||||
qtdirvalue: "../Qt/5.15.2/gcc_64/lib/cmake/Qt5",
|
qtdirvalue: "../Qt/5.15.2/gcc_64/lib/cmake/Qt5",
|
||||||
|
qtprefixdir: "../Qt/5.15.2/gcc_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -112,6 +117,7 @@ jobs:
|
||||||
qtversion: "6.2.4",
|
qtversion: "6.2.4",
|
||||||
qtdirkey: "Qt6_DIR",
|
qtdirkey: "Qt6_DIR",
|
||||||
qtdirvalue: "../Qt/6.2.4/gcc_64/lib/cmake/Qt6",
|
qtdirvalue: "../Qt/6.2.4/gcc_64/lib/cmake/Qt6",
|
||||||
|
qtprefixdir: "../Qt/6.2.4/gcc_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -128,6 +134,7 @@ jobs:
|
||||||
qtversion: "5.15.2",
|
qtversion: "5.15.2",
|
||||||
qtdirkey: "Qt5_DIR",
|
qtdirkey: "Qt5_DIR",
|
||||||
qtdirvalue: "../Qt/5.15.2/gcc_64/lib/cmake/Qt5",
|
qtdirvalue: "../Qt/5.15.2/gcc_64/lib/cmake/Qt5",
|
||||||
|
qtprefixdir: "../Qt/5.15.2/gcc_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -144,6 +151,7 @@ jobs:
|
||||||
qtversion: "6.2.4",
|
qtversion: "6.2.4",
|
||||||
qtdirkey: "Qt6_DIR",
|
qtdirkey: "Qt6_DIR",
|
||||||
qtdirvalue: "../Qt/6.2.4/gcc_64/lib/cmake/Qt6",
|
qtdirvalue: "../Qt/6.2.4/gcc_64/lib/cmake/Qt6",
|
||||||
|
qtprefixdir: "../Qt/6.2.4/gcc_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -160,6 +168,7 @@ jobs:
|
||||||
qtversion: "5.15.2",
|
qtversion: "5.15.2",
|
||||||
qtdirkey: "Qt5_DIR",
|
qtdirkey: "Qt5_DIR",
|
||||||
qtdirvalue: "../Qt/5.15.2/clang_64/lib/cmake/Qt5",
|
qtdirvalue: "../Qt/5.15.2/clang_64/lib/cmake/Qt5",
|
||||||
|
qtprefixdir: "../Qt/5.15.2/clang_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -176,6 +185,7 @@ jobs:
|
||||||
qtversion: "6.2.4",
|
qtversion: "6.2.4",
|
||||||
qtdirkey: "Qt6_DIR",
|
qtdirkey: "Qt6_DIR",
|
||||||
qtdirvalue: "../Qt/6.2.4/clang_64/lib/cmake/Qt6",
|
qtdirvalue: "../Qt/6.2.4/clang_64/lib/cmake/Qt6",
|
||||||
|
qtprefixdir: "../Qt/6.2.4/clang_64",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -302,6 +312,7 @@ jobs:
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
|
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
|
||||||
-G "${{ matrix.config.generators }}" \
|
-G "${{ matrix.config.generators }}" \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=instdir \
|
-DCMAKE_INSTALL_PREFIX:PATH=instdir \
|
||||||
|
-DCMAKE_PREFIX_PATH:PATH="${{ matrix.config.cmake.qtprefixdir }}" \
|
||||||
-D${{ matrix.config.cmake.qtdirkey }}:PATH="${{ matrix.config.cmake.qtdirvalue }}"
|
-D${{ matrix.config.cmake.qtdirkey }}:PATH="${{ matrix.config.cmake.qtdirvalue }}"
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue