File: math.patch

package info (click to toggle)
faudio 25.05%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,532 kB
  • sloc: ansic: 28,470; cpp: 7,356; cs: 2,170; makefile: 21; sh: 2
file content (13 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
description: explicitly link to libm
author: Michael Gilbert <mgilbert@debian.org>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,6 +111,7 @@
 	# Optional source files
 	src/XNA_Song.c
 )
+target_link_libraries(${target} PRIVATE m)
 
 if(PLATFORM_WIN32)
 	target_link_libraries(${target} PRIVATE dxguid uuid winmm ole32 advapi32 user32 mfplat mfreadwrite mfuuid propsys)