Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Explicitly look for X11 when using it. #13

Merged
merged 1 commit into from
Jun 15, 2015
Merged

Explicitly look for X11 when using it. #13

merged 1 commit into from
Jun 15, 2015

Conversation

rakuco
Copy link
Contributor

@rakuco rakuco commented Jun 15, 2015

This fixes the build with CMake 3.2, whose FindOpenGL.cmake stopped
calling find_package(X11).

Instead, do that ourselves when Q_WS_X11 is true, since that is when we
already try to link against libX11.

(It's not clear if this repository will ever be updated given Avogadro2 is being worked on, but this patch might interest other packagers who come across the same problem)

This fixes the build with CMake 3.2, whose FindOpenGL.cmake stopped
calling find_package(X11).

Instead, do that ourselves when Q_WS_X11 is true, since that is when we
already try to link against libX11.
@cryos
Copy link
Owner

cryos commented Jun 15, 2015

Looks good to me.

cryos added a commit that referenced this pull request Jun 15, 2015
Explicitly look for X11 when using it.
@cryos cryos merged commit 0836b94 into cryos:master Jun 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants