From 3828cd23096cf4ae4bebcf9584792ef144027921 Mon Sep 17 00:00:00 2001 From: Yang Kun <91833768+ikspress@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:00:18 +0800 Subject: [PATCH] Update pkg-config file --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66698cd7..d17b06d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,10 +79,10 @@ SET(builddir "${CMAKE_BINARY_DIR}") SET(top_srcdir "${CMAKE_SOURCE_DIR}") INCLUDE(UseDoxygen) -SET(prefix ${CMAKE_INSTALL_PREFIX}) -SET(exec_prefix ${CMAKE_INSTALL_PREFIX}) -SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR}) -SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR}) +set(prefix ${CMAKE_INSTALL_PREFIX}) +set(exec_prefix \${prefix}) +set(libdir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) +set(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) # Additonnal GCC flags IF(CMAKE_COMPILER_IS_GNUCC)