diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-18 16:49:20 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-19 17:07:27 (GMT) |
commit | a247911a88058ec2f814df5c1620b0be5a1065a8 (patch) | |
tree | 891fe0738914fc451345fcfe5ec96f4af9c7f813 /Tests/Tutorial/Step7 | |
parent | cffcdd83315c0ea10df4c5439209ccdfa6bc7160 (diff) | |
download | CMake-a247911a88058ec2f814df5c1620b0be5a1065a8.zip CMake-a247911a88058ec2f814df5c1620b0be5a1065a8.tar.gz CMake-a247911a88058ec2f814df5c1620b0be5a1065a8.tar.bz2 |
Tests: Don't read the LOCATION property from build targets.
Diffstat (limited to 'Tests/Tutorial/Step7')
-rw-r--r-- | Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt b/Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt index 9961e69..70a35f6 100644 --- a/Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt +++ b/Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt @@ -1,13 +1,11 @@ # first we add the executable that generates the table add_executable(MakeTable MakeTable.cxx) -get_target_property(MakeTableLocation MakeTable LOCATION) - # add the command to generate the source code add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Table.h DEPENDS MakeTable - COMMAND ${MakeTableLocation} + COMMAND MakeTable ARGS ${CMAKE_CURRENT_BINARY_DIR}/Table.h ) |