Skip to content

Commit

Permalink
cmake: default FMT_PKGCONFIG_DIR to a relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonszang authored and vitaut committed Mar 13, 2019
1 parent e28429e commit 287342d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ if (FMT_INSTALL)
set(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR}/fmt CACHE STRING
"Installation directory for include files, relative to ${CMAKE_INSTALL_PREFIX}.")

set(FMT_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH
set(FMT_PKGCONFIG_DIR "share/pkgconfig" CACHE PATH
"Installation directory for pkgconfig (.pc) files, relative to ${CMAKE_INSTALL_PREFIX}.")

# Generate the version, config and target files into the build directory.
Expand Down

0 comments on commit 287342d

Please sign in to comment.