]> git.pld-linux.org Git - packages/gl2ps.git/blob - gl2ps-link.patch
- updated to 1.3.6
[packages/gl2ps.git] / gl2ps-link.patch
1 --- gl2ps-1.3.6-source/CMakeLists.txt.orig      2011-08-14 19:15:31.000000000 +0200
2 +++ gl2ps-1.3.6-source/CMakeLists.txt   2011-08-18 17:20:11.409530657 +0200
3 @@ -107,7 +107,7 @@
4    set_target_properties(lib PROPERTIES OUTPUT_NAME gl2ps)
5  
6    add_library(shared SHARED gl2ps.c gl2ps.h)
7 -  target_link_libraries(shared ${EXTERNAL_LIBRARIES})
8 +  target_link_libraries(shared ${EXTERNAL_LIBRARIES} m)
9    set_target_properties(shared PROPERTIES OUTPUT_NAME gl2ps)
10    set_target_properties(shared PROPERTIES
11                          VERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}.${GL2PS_PATCH_VERSION}
12 @@ -116,7 +116,7 @@
13      set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS")
14    endif(MSVC)
15  
16 -  install(TARGETS lib shared DESTINATION lib)
17 +  install(TARGETS lib shared DESTINATION lib${LIB_SUFFIX})
18  endif(OPENGL_FOUND)
19  
20  if(WIN32)
21 @@ -134,9 +134,9 @@
22  
23  if(GLUT_FOUND)
24    add_executable(gl2psTest WIN32 gl2psTest.c)
25 -  target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES})
26 +  target_link_libraries(gl2psTest shared ${EXTERNAL_LIBRARIES})
27    add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c)
28 -  target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES})
29 +  target_link_libraries(gl2psTestSimple shared ${EXTERNAL_LIBRARIES})
30  endif(GLUT_FOUND)
31  
32  find_package(LATEX)
This page took 0.056615 seconds and 3 git commands to generate.