diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index c7ced63e403..8d4d23b1d64 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -138,12 +138,17 @@ if(WITH_INPUT_NDOF) intern/GHOST_NDOFManager.hh ) - list(APPEND INC_SYS - ${NDOF_INCLUDE_DIRS} - ) - list(APPEND LIB - ${NDOF_LIBRARIES} - ) + # Only some platforms define this. + if(DEFINED NDOF_INCLUDE_DIRS) + list(APPEND INC_SYS + ${NDOF_INCLUDE_DIRS} + ) + endif() + if(DEFINED NDOF_LIBRARIES) + list(APPEND LIB + ${NDOF_LIBRARIES} + ) + endif() endif() list(APPEND SRC diff --git a/source/blender/blenloader_core/CMakeLists.txt b/source/blender/blenloader_core/CMakeLists.txt index 23e1cde894f..7c536454d94 100644 --- a/source/blender/blenloader_core/CMakeLists.txt +++ b/source/blender/blenloader_core/CMakeLists.txt @@ -6,6 +6,8 @@ set(INC PUBLIC . ) +set(INC_SYS +) set(SRC intern/blo_core_bhead.cc diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 842e8247cea..7d4eb570fb5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -116,7 +116,7 @@ if(WITH_COMPILER_CODE_COVERAGE) BYPRODUCTS "${COMPILER_CODE_COVERAGE_DATA_DIR}/report/index.html" SOURCES "${COMPILER_CODE_COVERAGE_DATA_DIR}/blender.profdata" COMMENT "Generating code-coverage report." - COMMAND "${LLVM_COV}" show + COMMAND "${LLVM_COV}" show -format=html -show-instantiations=true -show-line-counts-or-regions