[planetblupi] 08/61: CMake: use list(APPEND) instead of set

Didier Raboud odyx at moszumanska.debian.org
Thu Nov 2 19:24:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit cce3961fc8413e5d58ae068425e2ef2dad5b0319
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Fri Oct 20 17:41:40 2017 +0200

    CMake: use list(APPEND) instead of set
---
 CMakeLists.txt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38932c9..de2ddee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,8 +164,7 @@ if ("${STATIC_BUILD}")
   )
 
   if (${PB_HTTP_VERSION_CHECK})
-    set (planetblupi_DEPS
-      ${planetblupi_DEPS}
+    list (APPEND planetblupi_DEPS
       ${CURL_STATIC_LIBRARIES}
     )
   endif ()
@@ -188,8 +187,7 @@ else ()
   )
 
   if (${PB_HTTP_VERSION_CHECK})
-    set (planetblupi_DEPS
-      ${planetblupi_DEPS}
+    list (APPEND planetblupi_DEPS
       ${CURL_LIBRARIES}
     )
   endif ()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list