diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-31 18:46:47 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-31 18:46:47 +1100 |
| commit | aa3dbff2342a4d698c10a5fd816904de01b03605 (patch) | |
| tree | d5312b094ed081c050afb0e8719a5025d4e974c5 | |
| parent | a6430cbe5462801505ef68caf08db3d6a8244b06 (diff) | |
Fix broken cmake install
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| -rw-r--r-- | 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 @@ -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 |
