msys2: Fix absolute windows paths

- Ensure path DATA_DIR isn't made absolute during compilation
- Use cygpath to create absolute path at runtime
This commit is contained in:
Greg Davill
2022-10-23 13:10:45 +10:30
parent 077f335dbd
commit 74ac8bba24
6 changed files with 64 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ build() {
-G "MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX="${MINGW_PREFIX}" \
../../../..
cmake --build .
MSYS2_ARG_CONV_EXCL="-DDATA_DIR=" cmake --build .
}
check() {