Skip to content

Conversation

@TheLastRar
Copy link
Contributor

Description of Changes

Specify -DCMAKE_PREFIX_PATH when building Qt on Linux

Rationale behind Changes

Local installs of Qt could break the build
Other platforms specify this already

Suggested Testing Steps

Install an older version of Qt on the system (like 6.8)
Run the deps script and see if the build completes

Did you use AI to help find, test, or implement this issue or feature?

No

@TellowKrinkle
Copy link
Member

Might want to use a list of common arguments like the macOS build

CMAKE_COMMON=(
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_SHARED_LINKER_FLAGS="-dead_strip -dead_strip_dylibs"
-DCMAKE_PREFIX_PATH="$INSTALLDIR"
-DCMAKE_INSTALL_PREFIX="$INSTALLDIR"
-DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_INSTALL_NAME_DIR='$<INSTALL_PREFIX>/lib'
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants