diff options
author | BedrockDotPng <74654571+BedrockDotPng@users.noreply.github.com> | 2021-09-09 17:54:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 17:54:44 +0300 |
commit | 7ec2a1264c64b5d580c9b950a22c456617942c82 (patch) | |
tree | 1fdb36d4f9f0c1155306bef2b2297df0a1b9dc16 | |
parent | 0d3c45cdbb4563b95be9037ea967aac815caf78f (diff) |
Update CMakeLists.txt
Fixed CMake file for Shaderc to properly compile.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 84e38a2..c111500 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ if (SPIRV_HEADERS_ENABLE_INSTALL) DESTINATION "${config_install_dir}" ) - configure_file(${CMAKE_SOURCE_DIR}/SPIRV-Headers.pc.in ${CMAKE_BINARY_DIR}/SPIRV-Headers.pc @ONLY) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/SPIRV-Headers.pc.in ${CMAKE_BINARY_DIR}/SPIRV-Headers.pc @ONLY) install( FILES "${CMAKE_BINARY_DIR}/SPIRV-Headers.pc" DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig |