diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:44 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:44 +0300 |
commit | 998ace3463c73a172c62418e438bddc93f78a22e (patch) | |
tree | e384f1236d2d9c9bd40f8f6050e8364852974642 /tests/python/CMakeLists.txt | |
parent | add1b6ab3c91d408635b311127224dd4cc33f1ab (diff) |
Cleanup: use lowercase function calls & macros in for CMake
This is already the case for most CMake usage.
Although some find modules are an exception to this, as they were
originally maintained externally they use some different conventions.
Also corrected bad indentation in: intern/cycles/CMakeLists.txt
Diffstat (limited to 'tests/python/CMakeLists.txt')
-rw-r--r-- | tests/python/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index ca3070b60ad..27473061304 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -632,13 +632,13 @@ endif() if(WITH_CYCLES OR WITH_OPENGL_RENDER_TESTS) if(NOT OPENIMAGEIO_IDIFF) - MESSAGE(WARNING "Disabling render tests because OIIO idiff does not exist") + message(WARNING "Disabling render tests because OIIO idiff does not exist") elseif(NOT EXISTS "${TEST_SRC_DIR}/render/shader") - MESSAGE(WARNING "Disabling render tests because tests folder does not exist at ${TEST_SRC_DIR}") + message(WARNING "Disabling render tests because tests folder does not exist at ${TEST_SRC_DIR}") elseif(NOT WITH_COMPOSITOR_CPU) - MESSAGE(WARNING "Disabling render tests because WITH_COMPOSITOR_CPU is disabled") + message(WARNING "Disabling render tests because WITH_COMPOSITOR_CPU is disabled") elseif(NOT WITH_OPENCOLORIO) - MESSAGE(WARNING "Disabling render tests because WITH_OPENCOLORIO is disabled") + message(WARNING "Disabling render tests because WITH_OPENCOLORIO is disabled") else() set(render_tests camera @@ -801,15 +801,15 @@ foreach(geo_node_test ${geo_node_tests}) ) endforeach() else() - MESSAGE(STATUS "Directory named ${TEST_SRC_DIR}/modeling/geometry_nodes/${geo_node_test}/ Not Found, disabling test.") + message(STATUS "Directory named ${TEST_SRC_DIR}/modeling/geometry_nodes/${geo_node_test}/ Not Found, disabling test.") endif() endforeach() if(WITH_OPENGL_DRAW_TESTS) if(NOT OPENIMAGEIO_IDIFF) - MESSAGE(STATUS "Disabling OpenGL draw tests because OIIO idiff does not exist") + message(STATUS "Disabling OpenGL draw tests because OIIO idiff does not exist") elseif(NOT EXISTS "${TEST_SRC_DIR}/opengl") - MESSAGE(STATUS "Disabling OpenGL draw tests because tests folder does not exist at ${TEST_SRC_DIR}") + message(STATUS "Disabling OpenGL draw tests because tests folder does not exist at ${TEST_SRC_DIR}") else() # Use all subdirectories of opengl folder. file(GLOB children RELATIVE ${TEST_SRC_DIR}/opengl ${TEST_SRC_DIR}/opengl/*) @@ -881,7 +881,7 @@ endif() # SEQUENCER RENDER TESTS if(NOT OPENIMAGEIO_IDIFF) - MESSAGE(STATUS "Disabling sequencer render tests because OIIO idiff does not exist") + message(STATUS "Disabling sequencer render tests because OIIO idiff does not exist") else() set(render_tests transform |