aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-07-02 13:03:30 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-07-07 17:24:57 +0000
commitf44f05532decf830fcdb07e2a67a2fa4ccbc3870 (patch)
tree27c3fc9254673a1371b64ccfa6aa288b6278410e /test/main.h
parentf5a9873bbb5488bcba3e37f92b4ec09a8db76081 (diff)
Fix CMake directory issues.
Allows absolute and relative paths for - `INCLUDE_INSTALL_DIR` - `CMAKEPACKAGE_INSTALL_DIR` - `PKGCONFIG_INSTALL_DIR` Type should be `PATH` not `STRING`. Contrary to !211, these don't seem to be made absolute if user-defined - according to the doc any directories should use `PATH` type, which allows a file dialog to be used via the GUI. It also better handles file separators. If user provides an absolute path, it will be made relative to `CMAKE_INSTALL_PREFIX` so that the `configure_packet_config_file` will work. Fixes #2155 and #2269.
Diffstat (limited to 'test/main.h')
0 files changed, 0 insertions, 0 deletions