diff options
| author | Brad King <brad.king@kitware.com> | 2013-11-20 14:08:25 (GMT) |
|---|---|---|
| committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-20 14:08:25 (GMT) |
| commit | 483b7e709396122c2e235972902a65e34878ae2a (patch) | |
| tree | 2f84af3046600831d57990145a0f4361878844ae /Tests/Tutorial/Step7/MathFunctions | |
| parent | b20f4d4deed23886d8afdc696515ac75e8dedd50 (diff) | |
| parent | a247911a88058ec2f814df5c1620b0be5a1065a8 (diff) | |
| download | CMake-483b7e709396122c2e235972902a65e34878ae2a.zip CMake-483b7e709396122c2e235972902a65e34878ae2a.tar.gz CMake-483b7e709396122c2e235972902a65e34878ae2a.tar.bz2 | |
Merge topic 'remove-LOCATION-property-use'
a247911 Tests: Don't read the LOCATION property from build targets.
cffcdd8 KDevelop: Use GetLocation(0) instead of LOCATION property.
Diffstat (limited to 'Tests/Tutorial/Step7/MathFunctions')
| -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 ) |
