aboutsummaryrefslogtreecommitdiff
path: root/graphics/libpano13/files/patch-CMakeLists.txt
blob: ba41816f36f7a042320b6c24483286761dd952e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- CMakeLists.txt.orig	2021-09-12 22:30:36 UTC
+++ CMakeLists.txt
@@ -116,7 +116,7 @@ FIND_PACKAGE(PNG REQUIRED)
 INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})
 INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
 
-set(_common_libs ${TIFF_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES})
+set(_common_libs ${TIFF_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} m)
 
 #
 # Check build type and set options accordingly
@@ -314,7 +314,7 @@ INSTALL(
 	AUTHORS
 	COPYING
 	README
-  DESTINATION "share/pano13/doc"
+  DESTINATION "share/doc/libpano13"
   COMPONENT headers
         )
 INSTALL(
@@ -323,7 +323,7 @@ INSTALL(
         doc/PTblender.readme
         doc/PTmender.readme
         doc/stitch.txt
-  DESTINATION "share/pano13/doc"
+  DESTINATION "share/doc/libpano13"
   COMPONENT doc
         )
 
@@ -488,6 +488,3 @@ if(CPACK_BINARY_RPM)
 endif()
 
 include(CPack)
-
-enable_testing()
-add_subdirectory(tests)