shithub: opusfile

Download patch

ref: c81d65c02c84a7e3df7b0fb5d90383a2b60ee1cb
parent: 97fbdb151124e35ca347497d4084ac6284d25b99
author: Hendrik <[email protected]>
date: Fri Jun 4 16:33:52 EDT 2021

Fix BOOL generator expression

Signed-off-by: Ralph Giles <[email protected]>
Signed-off-by: evpobr <[email protected]>

--- 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