Skip to content

Commit ffb47fe

Browse files
committed
renam RAYX_BUILD_TESTS to RAYX_BUILD_RAYX_TESTSe
1 parent 5694a01 commit ffb47fe

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ option(RAYX_REQUIRE_H5 "If option 'RAYX_ENABLE_H5' is ON, this option will add t
2626
option(RAYX_BUILD_TESTS "This option builds the RAYX test suite." ON)
2727
option(RAYX_BUILD_RAYX_CLI "This option builds the RAYX command line interface." ON)
2828
option(RAYX_BUILD_RAYX_UI "This option builds the RAYX graphical user interface." ON)
29+
option(RAYX_BUILD_RAYX_TESTS "This option builds the RAYX test suite." ON)
2930
option(RAYX_STATIC_LIB "This option builds 'rayx-core' as a static library." OFF)
3031
# ------------------
3132

Intern/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ endif()
1313
add_subdirectory(rayx-core)
1414

1515
if(RAYX_BUILD_RAYX_CLI)
16-
if(NOT RAYX_CMD STREQUAL "NO")
17-
add_subdirectory(rayx)
18-
endif()
16+
add_subdirectory(rayx)
1917
endif()
2018

2119
if(RAYX_BUILD_RAYX_UI)

Intern/rayx-core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ endif()
4646
# -----------------------
4747

4848
# ---- Add tests ----
49-
if(RAYX_BUILD_TESTS)
49+
if(RAYX_BUILD_RAYX_TESTS)
5050
add_subdirectory(tests)
5151
endif()
5252

Intern/rayx-core/src/Tracer/DeviceConfig.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@ void DeviceConfig::dumpDevices() const {
131131
RAYX_LOG << "Device - index: " << i << ", type: " << deviceTypeToString(device.type) << ", name: " << device.name;
132132
}
133133

134-
if (m_fetchedDeviceType != DeviceType::Cpu) {
135134
#if !defined(RAYX_CUDA_ENABLED) && !defined(RAYX_HIP_ENABLED)
135+
if (m_fetchedDeviceType != DeviceType::Cpu)
136136
RAYX_WARN << "No GPU support was compiled in this build.";
137137
#endif
138-
}
139138
}
140139

141140
size_t DeviceConfig::enabledDevicesCount() const {

0 commit comments

Comments
 (0)