File: openjpegmath.patch

package info (click to toggle)
insighttoolkit 3.20.1%2Bgit20120521-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 80,652 kB
  • sloc: cpp: 458,133; ansic: 196,223; fortran: 28,000; python: 3,839; tcl: 1,811; sh: 1,184; java: 583; makefile: 430; csh: 220; perl: 193; xml: 20
file content (14 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: insighttoolkit-3.20.1/Utilities/openjpeg/CMakeLists.txt
===================================================================
--- insighttoolkit-3.20.1.orig/Utilities/openjpeg/CMakeLists.txt	2011-10-25 16:37:24.000000000 +0000
+++ insighttoolkit-3.20.1/Utilities/openjpeg/CMakeLists.txt	2012-05-14 09:53:51.402102991 +0000
@@ -41,6 +41,9 @@
 
 # Create the library
 ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${OpenJPEG_SRCS})
+IF(UNIX)
+  TARGET_LINK_LIBRARIES(${OPJ_PREFIX}openjpeg m)
+ENDIF(UNIX)
 
 # Install library
 IF(ITK_LIBRARY_PROPERTIES)