cpp-jwt icon indicating copy to clipboard operation
cpp-jwt copied to clipboard

build: minor tweaks

Open Tachi107 opened this issue 3 years ago • 0 comments

With this patch I've made a few minor changes to CMake configuration:

  • CMake config files are now installed to share/ (CMAKE_INSTALL_DATADIR) instead of lib/, as cpp-jwt is header-only, thus arch-independent. See https://github.com/marzer/tomlplusplus/pull/165 for a longer discussion about this.
  • Headers are now installed to CMAKE_INSTALL_INCLUDEDIR instead of the hardcoded include/
  • I've removed a few redundant options from the install(TARGETS) call, as they are implied by default since CMake 3.14.

Tachi107 avatar Jul 29 '22 22:07 Tachi107