Cleanup: quiet CMake warnings from use of undefined variables
This commit is contained in:
parent
5c8193bf1e
commit
c8e31d34b4
@ -138,12 +138,17 @@ if(WITH_INPUT_NDOF)
|
|||||||
intern/GHOST_NDOFManager.hh
|
intern/GHOST_NDOFManager.hh
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND INC_SYS
|
# Only some platforms define this.
|
||||||
${NDOF_INCLUDE_DIRS}
|
if(DEFINED NDOF_INCLUDE_DIRS)
|
||||||
)
|
list(APPEND INC_SYS
|
||||||
list(APPEND LIB
|
${NDOF_INCLUDE_DIRS}
|
||||||
${NDOF_LIBRARIES}
|
)
|
||||||
)
|
endif()
|
||||||
|
if(DEFINED NDOF_LIBRARIES)
|
||||||
|
list(APPEND LIB
|
||||||
|
${NDOF_LIBRARIES}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND SRC
|
list(APPEND SRC
|
||||||
|
@ -6,6 +6,8 @@ set(INC
|
|||||||
PUBLIC .
|
PUBLIC .
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(INC_SYS
|
||||||
|
)
|
||||||
|
|
||||||
set(SRC
|
set(SRC
|
||||||
intern/blo_core_bhead.cc
|
intern/blo_core_bhead.cc
|
||||||
|
@ -116,7 +116,7 @@ if(WITH_COMPILER_CODE_COVERAGE)
|
|||||||
BYPRODUCTS "${COMPILER_CODE_COVERAGE_DATA_DIR}/report/index.html"
|
BYPRODUCTS "${COMPILER_CODE_COVERAGE_DATA_DIR}/report/index.html"
|
||||||
SOURCES "${COMPILER_CODE_COVERAGE_DATA_DIR}/blender.profdata"
|
SOURCES "${COMPILER_CODE_COVERAGE_DATA_DIR}/blender.profdata"
|
||||||
COMMENT "Generating code-coverage report."
|
COMMENT "Generating code-coverage report."
|
||||||
COMMAND "${LLVM_COV}" show
|
COMMAND "${LLVM_COV}" show
|
||||||
-format=html
|
-format=html
|
||||||
-show-instantiations=true
|
-show-instantiations=true
|
||||||
-show-line-counts-or-regions
|
-show-line-counts-or-regions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user