summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorGreg Bedwell <greg_bedwell@sn.scee.net>2015-06-01 13:06:10 +0000
committerGreg Bedwell <greg_bedwell@sn.scee.net>2015-06-01 13:06:10 +0000
commit1fec7e41df5f7b89b3bd0eccea07019f7c9c7337 (patch)
treefc95f41089e2bc68d91cd3fe4057637f32ec764d /llvm/cmake/modules
parente0539fc50c9541977e7e965147a3c0414e0cb1a9 (diff)
downloadbcm5719-llvm-1fec7e41df5f7b89b3bd0eccea07019f7c9c7337.tar.gz
bcm5719-llvm-1fec7e41df5f7b89b3bd0eccea07019f7c9c7337.zip
remove the use of the LOCATION CMake variable from r238740.
It caused the following failure: "Policy CMP0026 is not set: Disallow use of the LOCATION target property." llvm-svn: 238741
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 37d742dd501..06919d96f0f 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -284,9 +284,6 @@ function(set_windows_version_resource_properties name resource_file)
set(ARG_PRODUCT_NAME "LLVM")
endif()
- get_target_property(target_location ${name} LOCATION)
- get_filename_component(target_filename ${target_location} NAME)
-
set_property(SOURCE ${resource_file}
PROPERTY COMPILE_DEFINITIONS
"RC_VERSION_FIELD_1=${ARG_VERSION_MAJOR}"
@@ -295,7 +292,6 @@ function(set_windows_version_resource_properties name resource_file)
"RC_VERSION_FIELD_4=0"
"RC_FILE_VERSION=\"${ARG_VERSION_STRING}\""
"RC_INTERNAL_NAME=\"${name}\""
- "RC_ORIGINAL_FILENAME=\"${target_filename}\""
"RC_PRODUCT_NAME=\"${ARG_PRODUCT_NAME}\""
"RC_PRODUCT_VERSION=\"${ARG_VERSION_STRING}\"")
endfunction(set_windows_version_resource_properties)
OpenPOWER on IntegriCloud