define CMAKE_PREFIX_PATH

This commit is contained in:
Rick Vogel 2022-10-31 15:21:43 +01:00
parent 747e9e9459
commit d7694bc977
1 changed files with 12 additions and 1 deletions

View File

@ -29,6 +29,7 @@ jobs:
qtversion: "5.15.2",
qtdirkey: "Qt5_DIR",
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",
qtdirkey: "Qt6_DIR",
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",
qtdirkey: "Qt5_DIR",
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",
qtdirkey: "Qt6_DIR",
qtdirvalue: "../Qt/6.2.4/msvc2019_64/lib/cmake/Qt6",
qtprefixdir: "../Qt/6.2.4/msvc2019_64",
},
}
- {
@ -96,6 +100,7 @@ jobs:
qtversion: "5.15.2",
qtdirkey: "Qt5_DIR",
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",
qtdirkey: "Qt6_DIR",
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",
qtdirkey: "Qt5_DIR",
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",
qtdirkey: "Qt6_DIR",
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",
qtdirkey: "Qt5_DIR",
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",
qtdirkey: "Qt6_DIR",
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 }} \
-G "${{ matrix.config.generators }}" \
-DCMAKE_INSTALL_PREFIX:PATH=instdir \
-DCMAKE_PREFIX_PATH:PATH="${{ matrix.config.cmake.qtprefixdir }}" \
-D${{ matrix.config.cmake.qtdirkey }}:PATH="${{ matrix.config.cmake.qtdirvalue }}"
- name: Build
shell: bash