Cleanup: CMake include paths

Remove redundant separators & redundant references to parent paths.
This commit is contained in:
Campbell Barton 2022-10-19 17:09:29 +11:00
parent d4b8e9b69f
commit 89525fae59
8 changed files with 12 additions and 9 deletions

View File

@ -43,7 +43,10 @@ else()
endif()
if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
list(APPEND INC_SYS ${Epoxy_INCLUDE_DIRS} ${SDL2_INCLUDE_DIRS})
list(APPEND INC_SYS
${Epoxy_INCLUDE_DIRS}
${SDL2_INCLUDE_DIRS}
)
list(APPEND LIB ${Epoxy_LIBRARIES} ${SDL2_LIBRARIES})
endif()

View File

@ -268,7 +268,7 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND)
if(WITH_GHOST_WAYLAND_DYNLOAD)
list(APPEND INC_SYS
../../intern/wayland_dynload/extern
../wayland_dynload/extern
)
list(APPEND LIB
bf_intern_wayland_dynload

View File

@ -2,7 +2,7 @@
set(INC
.
./algorithms
algorithms
../../blenkernel
../../blenlib
../../gpu

View File

@ -2,7 +2,7 @@
set(INC
.
./importer
importer
../common
../../blenkernel
../../blenlib

View File

@ -2,8 +2,8 @@
set(INC
.
./exporter
./importer
exporter
importer
../common
../../blenkernel
../../blenlib

View File

@ -116,8 +116,8 @@ blender_add_lib(bf_dna "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# -----------------------------------------------------------------------------
# Build bf_dna_blenlib library
set(INC
..
../../blenlib
../../makesdna
../../../../intern/atomic
../../../../intern/guardedalloc
)

View File

@ -200,7 +200,7 @@ set(INC
../../imbuf
../../makesdna
../../modifiers
../../nodes/
../../nodes
../../sequencer
../../simulation
../../windowmanager

View File

@ -2,7 +2,7 @@
set(INC
.
../
..
../intern
../../editors/include
../../blenkernel