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/LinkDirectory | |
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/LinkDirectory')
-rw-r--r-- | Tests/LinkDirectory/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/LinkDirectory/CMakeLists.txt b/Tests/LinkDirectory/CMakeLists.txt index 7356b27..b8d5a04 100644 --- a/Tests/LinkDirectory/CMakeLists.txt +++ b/Tests/LinkDirectory/CMakeLists.txt @@ -11,13 +11,13 @@ endif() add_library(mylibA STATIC mylibA.c) set_property(TARGET mylibA PROPERTY ARCHIVE_OUTPUT_DIRECTORY "${LinkDirectory_BINARY_DIR}/External/lib") -get_property(mylibA TARGET mylibA PROPERTY LOCATION) +# get_property(mylibA TARGET mylibA PROPERTY LOCATION) # Build a library into our build tree relative to the subproject build tree. add_library(mylibB STATIC mylibB.c) set_property(TARGET mylibB PROPERTY ARCHIVE_OUTPUT_DIRECTORY "${LinkDirectory_BINARY_DIR}/lib") -get_property(mylibB TARGET mylibB PROPERTY LOCATION) +# get_property(mylibB TARGET mylibB PROPERTY LOCATION) # Create a custom target to drive the subproject build. include(ExternalProject) @@ -38,7 +38,7 @@ ExternalProject_Add_Step(ExternalTarget cleanup COMMAND ${CMAKE_COMMAND} -E remove_directory ${LinkDirectory_BINARY_DIR}/bin DEPENDEES download DEPENDERS configure - DEPENDS ${mylibA} ${mylibB} + DEPENDS mylibA mylibB "${LinkDirectory_BINARY_DIR}/External/CMakeLists.txt" "${LinkDirectory_BINARY_DIR}/External/myexe.c" ) |