summaryrefslogtreecommitdiff
path: root/indra/cmake/LLSharedLibs.cmake
diff options
context:
space:
mode:
authorJJ Linden <jj@lindenlab.com>2014-10-13 12:46:55 -0700
committerJJ Linden <jj@lindenlab.com>2014-10-13 12:46:55 -0700
commit5cb5c267caed96b23e1c6c7b8d3c04aaefe84c6a (patch)
treee238dd104c9a478c7b753713ce1cfc30f835340d /indra/cmake/LLSharedLibs.cmake
parent4fb1bae807a5dd8a342946b8f23d2a7a5aa5d36a (diff)
fixes for cmake warnings about policy changes. could not fully test these changes
Diffstat (limited to 'indra/cmake/LLSharedLibs.cmake')
-rwxr-xr-xindra/cmake/LLSharedLibs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/LLSharedLibs.cmake b/indra/cmake/LLSharedLibs.cmake
index 14dd67f32f..a3c1c871aa 100755
--- a/indra/cmake/LLSharedLibs.cmake
+++ b/indra/cmake/LLSharedLibs.cmake
@@ -1,7 +1,7 @@
# ll_deploy_sharedlibs_command
# target_exe: the cmake target of the executable for which the shared libs will be deployed.
macro(ll_deploy_sharedlibs_command target_exe)
- get_target_property(TARGET_LOCATION ${target_exe} LOCATION)
+ set(TARGET_LOCATION $<TARGET_FILE:${target_exe}>)
get_filename_component(OUTPUT_PATH ${TARGET_LOCATION} PATH)
if(DARWIN)