shithub: opusfile

Download patch

ref: c81d65c02c84a7e3df7b0fb5d90383a2b60ee1cb
parent: 97fbdb151124e35ca347497d4084ac6284d25b99
author: Hendrik <git@h3ndrk.de>
date: Fri Jun 4 16:33:52 EDT 2021

Fix BOOL generator expression

Signed-off-by: Ralph Giles <giles@thaumas.net>
Signed-off-by: evpobr <evpobr@gmail.com>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,7 +61,7 @@
   PUBLIC
     Ogg::ogg
     Opus::opus
-    $<$<BOOL:OP_HAVE_LIBM>:m>
+    $<$<BOOL:${OP_HAVE_LIBM}>:m>
 )
 target_compile_options(opusfile
   PRIVATE
@@ -167,7 +167,7 @@
       OpenSSL::SSL
       $<$<C_COMPILER_ID:MSVC>:ws2_32>
       $<$<C_COMPILER_ID:MSVC>:crypt32>
-      $<$<BOOL:OP_HAVE_LIBM>:m>
+      $<$<BOOL:${OP_HAVE_LIBM}>:m>
   )
   target_compile_options(opusurl
     PRIVATE