mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-25 19:47:06 +02:00
CMake: Remove support for QTDIR environment variable
Using this variable is problematic is the user has several versions of Qt installed on their system. There is no way to know ahead of time if the Qt version pointed to by QTDIR matches the toolchain that is being targeted. The Qt installation path can still be easily specified if it's not found by CMake by setting the Qt5_DIR cache variable after the initial configuration run, so this shouldn't present an usability issue.
This commit is contained in:
parent
3351ac9afb
commit
4e4896ab6e
2 changed files with 3 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ install:
|
|||
before_build:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -G "Visual Studio 12 Win64" -DCITRA_USE_BUNDLED_GLFW=1 ..
|
||||
- cmake -G "Visual Studio 12 Win64" -DCITRA_USE_BUNDLED_GLFW=1 -DQt5_DIR=%QTDIR%/lib/cmake/Qt5 ..
|
||||
- cd ..
|
||||
|
||||
after_build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue