From aa3dbff2342a4d698c10a5fd816904de01b03605 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 31 Mar 2026 18:46:47 +1100 Subject: Fix broken cmake install --- CMakeLists.txt | 4 ++-- README.md | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc11d7a..a789e87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ configure_file( install(TARGETS ${LIBRARY_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) -install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/low_latency_layer.json" +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/low_latency_layer.json" DESTINATION "${CMAKE_INSTALL_DATADIR}/vulkan/implicit_layer.d/" ) @@ -56,4 +56,4 @@ target_compile_options(${LIBRARY_NAME} PRIVATE -Wundef -Wconversion -Wdouble-promotion -) +) \ No newline at end of file diff --git a/README.md b/README.md index b86cc87..bfbf11c 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,16 @@ Create an out-of-tree build directory (creatively we'll use 'build') and install $ sudo make install ``` -To verify that the installation succeeded you can run this command. If it prints '1', you're good to go. +To verify that the installation succeeded you can run this command. If it prints '1' the loader can see the layer and installation was successful. ``` $ ENABLE_LOW_LATENCY_LAYER=1 vulkaninfo 2>/dev/null | grep -q VK_LAYER_NJ3AHXAC_LowLatency && echo 1 || echo 0 ``` +# Usage and Configuration + +WIP TODO + # Benchmarks WIP - not updated for reflex merge -- cgit v1.2.3