Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-27 07:08:28 +0300
committerCampbell Barton <campbell@blender.org>2022-08-27 07:32:50 +0300
commitbfca876c05f39f74065f9d56edd7e25acfef21bf (patch)
treec4335f623b2607f5ff353bb18a8985e1889b9b9f /intern
parent3cba80039d5db1d2d23ff754ab427f8ed66a71f8 (diff)
CMake: cleanup, rename INC_HD_CYCLES to SRC_HD_CYCLES_HEADERS
Our convention is to use `INC_*` for include directories, this caused `make check_cmake` to incorrectly fail as it expected these files to be include directories.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/hydra/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/hydra/CMakeLists.txt b/intern/cycles/hydra/CMakeLists.txt
index 2bbd46db582..db90b1b5395 100644
--- a/intern/cycles/hydra/CMakeLists.txt
+++ b/intern/cycles/hydra/CMakeLists.txt
@@ -21,7 +21,7 @@ set(LIB
)
cycles_external_libraries_append(LIB)
-set(INC_HD_CYCLES
+set(SRC_HD_CYCLES_HEADERS
attribute.h
camera.h
config.h
@@ -75,7 +75,7 @@ endif()
if(EXISTS ${USD_INCLUDE_DIR}/pxr/imaging/hgiGL)
add_definitions(-DWITH_HYDRA_DISPLAY_DRIVER)
list(APPEND SRC_HD_CYCLES display_driver.cpp)
- list(APPEND INC_HD_CYCLES display_driver.h)
+ list(APPEND SRC_HD_CYCLES_HEADERS display_driver.h)
endif()
include_directories(${INC})
@@ -83,7 +83,7 @@ include_directories(SYSTEM ${INC_SYS})
add_library(cycles_hydra STATIC
${SRC_HD_CYCLES}
- ${INC_HD_CYCLES}
+ ${SRC_HD_CYCLES_HEADERS}
)
target_compile_options(cycles_hydra