From 7a1b012eeb2581db74f6fb9c82e2fe5d8e06b1ad Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 1 Feb 2022 14:51:59 +1100 Subject: [PATCH] CMake: [nfc] uppercase 'sources' variable Upcoming changes that introduce `cmake-format` checks complain that this identifier does not comply with `[A-Z][0-9A-Z_]+|_[0-9a-z_]+` --- lib/neatogen/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/neatogen/CMakeLists.txt b/lib/neatogen/CMakeLists.txt index 320245b5e..6167fe02e 100644 --- a/lib/neatogen/CMakeLists.txt +++ b/lib/neatogen/CMakeLists.txt @@ -1,6 +1,6 @@ add_definitions(-DNEATOGEN_EXPORTS) -set(sources +set(SOURCES # Header files adjust.h bfs.h @@ -80,7 +80,7 @@ set(sources ) if(with_ipsepcola) - list(APPEND ${sources} + list(APPEND ${SOURCES} constrained_majorization_ipsep.c mosek_quad_solve.c mosek_quad_solve.h @@ -90,7 +90,7 @@ endif() add_library(neatogen STATIC - ${sources} + ${SOURCES} ) target_include_directories(neatogen PRIVATE -- 2.40.0