diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 05:49:08 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 05:49:08 +0000 |
| commit | 29077e2e2c7298cbb8f22343e29a8a63e5cd9cd1 (patch) | |
| tree | be0946a054ebca78cded7f8c90546f3c05199f42 /External | |
| parent | Minor fix to gitignore (diff) | |
| download | DiligentCore-29077e2e2c7298cbb8f22343e29a8a63e5cd9cd1.tar.gz DiligentCore-29077e2e2c7298cbb8f22343e29a8a63e5cd9cd1.zip | |
Fixed CMake warning when processing SPIRV-Tools-shared on Mac
Diffstat (limited to 'External')
| -rw-r--r-- | External/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/External/CMakeLists.txt b/External/CMakeLists.txt index 32fd9231..178cab8d 100644 --- a/External/CMakeLists.txt +++ b/External/CMakeLists.txt @@ -27,6 +27,7 @@ if(PLATFORM_WIN32 OR PLATFORM_LINUX OR PLATFORM_MACOS) set(SPIRV_SKIP_EXECUTABLES ON CACHE BOOL "Skip building SPIRV executable and tests along with the library") set(SKIP_SPIRV_TOOLS_INSTALL ON CACHE BOOL "Skip SPIRV tools installation") set(SPIRV_WERROR OFF CACHE BOOL "Do not enable error on warning") + set(CMAKE_MACOSX_RPATH TRUE) add_subdirectory(SPIRV-Tools) set_directory_root_folder("SPIRV-Tools" "Core/External/SPIRV-Tools") # We only need SPIRV-Tools-opt for glslang that also depends on SPIRV-Tools. |
