[cmake] Make libgomp & libiomp5 alias install optional
authorMichal Gorny <mgorny@gentoo.org>
Wed, 14 Sep 2016 17:46:27 +0000 (17:46 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Wed, 14 Sep 2016 17:46:27 +0000 (17:46 +0000)
commit23132ebb0e8b38c74e86acee8f2a42ad7b95307b
tree613aebf6118114a72ba0cfecfff6fc1efa7f16dd
parenta8c46ce608838890a20555045c8409afdc1b33ed
[cmake] Make libgomp & libiomp5 alias install optional

Introduce a new LIBOMP_INSTALL_VARIABLES cache variable that can be used
to disable creating libgomp and libiomp5 aliases on 'make install'.
Those aliases are undesired e.g. on Gentoo systems where libomp is used
purely by clang.

Differential Revision: https://reviews.llvm.org/D24563

llvm-svn: 281512
openmp/runtime/CMakeLists.txt
openmp/runtime/src/CMakeLists.txt