]> granicus.if.org Git - graphviz/commitdiff
CMake: [nfc] uppercase 'sources' variable
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 03:51:59 +0000 (14:51 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 04:29:03 +0000 (15:29 +1100)
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

index 320245b5eb3e3a177a37dfd3ea033654379e1e2c..6167fe02e91b4ccbc9f550dc636738420c11f763 100644 (file)
@@ -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