openjpeg-1.3-libm.patch 596 B

123456789101112131415
  1. diff -up OpenJPEG_v1_3/libopenjpeg/CMakeLists.txt.libm OpenJPEG_v1_3/libopenjpeg/CMakeLists.txt
  2. --- OpenJPEG_v1_3/libopenjpeg/CMakeLists.txt.libm 2009-06-19 09:18:44.021229314 -0500
  3. +++ OpenJPEG_v1_3/libopenjpeg/CMakeLists.txt 2009-06-19 09:18:44.074248015 -0500
  4. @@ -35,6 +35,10 @@ ADD_LIBRARY(${OPENJPEG_LIBRARY_NAME} ${O
  5. SET_TARGET_PROPERTIES(${OPENJPEG_LIBRARY_NAME} PROPERTIES
  6. ${OPENJPEG_LIBRARY_PROPERTIES})
  7. +IF(UNIX)
  8. + TARGET_LINK_LIBRARIES(${OPENJPEG_LIBRARY_NAME} m)
  9. +ENDIF(UNIX)
  10. +
  11. # Install library
  12. INSTALL(TARGETS ${OPENJPEG_LIBRARY_NAME}
  13. DESTINATION ${CMAKE_INSTALL_LIBDIR})