summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-04-16 16:56:18 +0000
committerChris Bieneman <beanz@apple.com>2015-04-16 16:56:18 +0000
commit84271696420a2d42160b824ce7a4839afa8499a4 (patch)
tree9a0a907842d81fd31aa7f3d6141ff88e3b336503 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent4078ad41222a1405ed9dac96bdcb0bf9ae411103 (diff)
downloadbcm5719-llvm-84271696420a2d42160b824ce7a4839afa8499a4.tar.gz
bcm5719-llvm-84271696420a2d42160b824ce7a4839afa8499a4.zip
Fixing a mis-use of the CMake install command.
The CMake install command is defined as: install(TARGETS targets... [EXPORT <export-name>] [[ARCHIVE|LIBRARY|RUNTIME|FRAMEWORK|BUNDLE| PRIVATE_HEADER|PUBLIC_HEADER|RESOURCE] [DESTINATION <dir>] [INCLUDES DESTINATION [<dir> ...]] [PERMISSIONS permissions...] [CONFIGURATIONS [Debug|Release|...]] [COMPONENT <component>] [OPTIONAL] [NAMELINK_ONLY|NAMELINK_SKIP] ] [...]) This means it can only take one parameter from the set of RUNTIME, LIBRARY, or ARCHIVE. If you set more than one of these it seems to gobble up the extra arguments and ignore the COMPONENT argument. This adds a check to only set LIBRARY or ARCHIVE based on whether or not the library being built is shared. llvm-svn: 235113
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud