]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: forward `USE_LIBRTMP` option to C
authorTal Regev <tal.regev@gmail.com>
Sun, 14 Apr 2024 02:37:18 +0000 (05:37 +0300)
committerViktor Szakats <commit@vsz.me>
Mon, 15 Apr 2024 21:32:23 +0000 (23:32 +0200)
Define in C `USE_LIBRTMP` if user requested it from cmake.

Closes #13364

lib/curl_config.h.cmake

index f624da5f825cb2d0c48d3eef389dba68612e0b35..f3904d2675c1f82f3a02e75dd3706cf2fdf5b7cc 100644 (file)
@@ -710,6 +710,9 @@ ${SIZEOF_TIME_T_CODE}
 /* if OpenSSL is in use */
 #cmakedefine USE_OPENSSL 1
 
+/* if librtmp/rtmpdump is in use */
+#cmakedefine USE_LIBRTMP 1
+
 /* Define to 1 if you don't want the OpenSSL configuration to be loaded
    automatically */
 #cmakedefine CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG 1