silence cmake 3.0+ warnings on LOCATION attribute
Merge pull request #3329 from taka-no-me:patch-1