summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-18 16:49:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 17:07:27 (GMT)
commita247911a88058ec2f814df5c1620b0be5a1065a8 (patch)
tree891fe0738914fc451345fcfe5ec96f4af9c7f813 /Tests/Wrapping
parentcffcdd83315c0ea10df4c5439209ccdfa6bc7160 (diff)
downloadCMake-a247911a88058ec2f814df5c1620b0be5a1065a8.zip
CMake-a247911a88058ec2f814df5c1620b0be5a1065a8.tar.gz
CMake-a247911a88058ec2f814df5c1620b0be5a1065a8.tar.bz2
Tests: Don't read the LOCATION property from build targets.
Diffstat (limited to 'Tests/Wrapping')
-rw-r--r--Tests/Wrapping/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index 1dc7ffc..cbb28a1 100644
--- a/Tests/Wrapping/CMakeLists.txt
+++ b/Tests/Wrapping/CMakeLists.txt
@@ -89,9 +89,8 @@ set (FLTK_SRCS
fltk1.fl
)
add_executable(fakefluid fakefluid.cxx)
-get_target_property(FLUID_LOC fakefluid LOCATION)
set (FLTK_WRAP_UI "On")
-set (FLTK_FLUID_EXECUTABLE "${FLUID_LOC}")
+set (FLTK_FLUID_EXECUTABLE fakefluid)
fltk_wrap_ui (wraplibFLTK ${FLTK_SRCS})
add_library(wraplibFLTK ${wraplibFLTK_FLTK_UI_SRCS})
add_dependencies(wraplibFLTK fakefluid)