Install headers in correct path when using CMake
pkg-config provides users with the include path `../include/r3` while CMake installs the headers directly under `../include/`. This corrects the installation path to match the generated r3.pc and to get the same result as when using autoconf.
This commit is contained in:
parent
c105117b40
commit
9887545ab0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ install(
|
|||
include/r3_json.h
|
||||
include/str_array.h
|
||||
include/r3.hpp
|
||||
DESTINATION include)
|
||||
DESTINATION include/r3)
|
||||
|
||||
# Configure substitutions for r3.pc. The variables set here must match the
|
||||
# @<values>@ in r3.pc.in.
|
||||
|
|
Loading…
Reference in a new issue