diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-10-04 20:31:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-10-04 21:13:58 +0300 |
commit | 6167a065a5d6eb1db356f4d93f05a9bc315eebb5 (patch) | |
tree | dec7de4a50438db91e1e39290929b967c0501882 /CMakeLists.txt | |
parent | 3353fc60c2304e33697aa8e10f2a6b306b046feb (diff) |
Build: also list Cycles build options on first cmake config
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 514896161a7..8bb685195bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1956,6 +1956,22 @@ if(FIRST_RUN) info_cfg_option(WITH_MOD_OCEANSIM) info_cfg_option(WITH_MOD_REMESH) + if(WITH_CYCLES) + info_cfg_text("Cycles:") + info_cfg_option(WITH_CYCLES_OSL) + info_cfg_option(WITH_CYCLES_EMBREE) + info_cfg_option(WITH_CYCLES_PATH_GUIDING) + if(NOT APPLE) + info_cfg_option(WITH_CYCLES_DEVICE_OPTIX) + info_cfg_option(WITH_CYCLES_DEVICE_CUDA) + info_cfg_option(WITH_CYCLES_CUDA_BINARIES) + info_cfg_option(WITH_CYCLES_DEVICE_HIP) + info_cfg_option(WITH_CYCLES_HIP_BINARIES) + info_cfg_option(WITH_CYCLES_DEVICE_ONEAPI) + info_cfg_option(WITH_CYCLES_ONEAPI_BINARIES) + endif() + endif() + info_cfg_text("") message("${_config_msg}") |