We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec509c3 + bcb9948 commit 571b5f6Copy full SHA for 571b5f6
CMakeLists.txt
@@ -454,7 +454,9 @@ if(NRI_ENABLE_VK_SUPPORT)
454
endif()
455
456
if(NRI_ENABLE_WAYLAND_SUPPORT)
457
- find_path(WAYLAND_HEADERS NAMES "wayland-client.h")
+ set(WAYLAND_INCLUDE_DIR "/usr/include/wayland")
458
+ MESSAGE(STATUS " Wayland include path ${WAYLAND_INCLUDE_DIR}")
459
+ find_path(WAYLAND_HEADERS NAMES "wayland-client.h" HINTS ${WAYLAND_INCLUDE_DIR})
460
461
if(NOT WAYLAND_HEADERS)
462
message(FATAL_ERROR "Can't find 'wayland-client.h'. 'libwayland-dev' is not installed?")
@@ -713,4 +715,4 @@ if(NRI_ENABLE_NIS_SDK)
713
715
target_link_libraries(NRI_Shared PRIVATE ShaderMakeBlob)
714
716
717
message("NRI: setting shaders path to '${NRI_SHADERS_PATH}'")
-endif()
718
+endif()
0 commit comments