From 6167a065a5d6eb1db356f4d93f05a9bc315eebb5 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 4 Oct 2022 19:31:24 +0200 Subject: Build: also list Cycles build options on first cmake config --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'CMakeLists.txt') 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}") -- cgit v1.2.3