CMake: quiet uninitialized warnings

This commit is contained in:
Campbell Barton
2023-08-17 11:53:56 +10:00
parent 3ce80d2168
commit c713c70781
20 changed files with 77 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ set(SRC
set(LIB
)
if(WITH_OPENMP_STATIC)
if(WITH_OPENMP AND WITH_OPENMP_STATIC)
list(APPEND LIB
${OpenMP_LIBRARIES}
)