cmake: Use common installation directory for cmake support files.
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 13 Sep 2022 13:33:16 +0000 (15:33 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 13 Sep 2022 13:35:30 +0000 (15:35 +0200)
commit50ec8ae5844fc2411743c29c3d484dcfb0135dd0
tree3b8139be712327daf57475e6189ad89e15c41cc6
parentc0cf8ad87627227c7f1d3be6177bbf2832d3fc1b
cmake: Use common installation directory for cmake support files.

At least on openSUSE, the usual installation location for cmake support
files is ${MAKE_INSTALL_LIBDIR}/cmake/<name>

   $ find /usr/lib64 -name '*.cmake' | grep /cmake/ | wc -l
   834
   $ find /usr/lib64 -name '*.cmake' | grep -v /cmake/ | wc -l
   8

which is also used by glslang with these changes.
CMakeLists.txt