Skip to content

Commit

Permalink
Adding X11 in find_package before MaterialX, as required for Material…
Browse files Browse the repository at this point in the history
…X linkage.
  • Loading branch information
ScatteredRay committed Sep 7, 2024
1 parent 7d7b262 commit 8b72b4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ project(usdtweak)
find_package(OpenGL REQUIRED)
find_package(pxr REQUIRED)
if (${PXR_VERSION} VERSION_GREATER_EQUAL 2208)
if(UNIX)
find_package(X11 REQUIRED)
endif()
find_package(MaterialX)
endif()
set(CMAKE_CXX_STANDARD 14)
Expand Down

0 comments on commit 8b72b4f

Please sign in to comment.