File: git-pkgconfig

package info (click to toggle)
eztrace 2.0%2Brepack-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,132 kB
  • sloc: ansic: 23,501; perl: 910; sh: 857; cpp: 771; makefile: 696; fortran: 327; f90: 320; python: 57
file content (26 lines) | stat: -rw-r--r-- 887 bytes parent folder | download
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
commit c8c5012f8c4e5cb514bcd507604864e789eef995
Author: François Trahay <francois.trahay@telecom-sudparis.eu>
Date:   Mon Aug 22 13:09:18 2022 +0200

    install eztrace.pc in libdir/pkgconfig

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 319a60f1..852843f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,7 +147,6 @@ endif()
 # Some flags for compilation
 
 set (prefix "${CMAKE_INSTALL_PREFIX}")
-set (INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig")
 
 check_include_files("sys/prctl.h" HAVE_PRCTL_H)
 if (NOT HAVE_PRCTL_H)
@@ -177,6 +176,7 @@ set(EZTRACE_LIB_DIR ${CMAKE_INSTALL_FULL_LIBDIR})
 
 set(INSTALL_INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
 set(INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
+set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
 
 # Subdirectory
 add_subdirectory (src)