diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-01-24 22:15:13 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-01-24 23:31:41 (GMT) |
commit | e03f83f394c53acbcc9dcff03f189170b2f33322 (patch) | |
tree | c2be55ec8ebcf166df98b7fb87e1dd1f458b35a6 /Tests/CMakeTests/ProcessorCountTest.cmake.in | |
parent | 21fc6c46df7f2271d7baace04f239f031785b917 (diff) | |
download | CMake-e03f83f394c53acbcc9dcff03f189170b2f33322.zip CMake-e03f83f394c53acbcc9dcff03f189170b2f33322.tar.gz CMake-e03f83f394c53acbcc9dcff03f189170b2f33322.tar.bz2 |
ProcessorCount test: fix path to cmsysTestsCxx executable
Use a generator expression to get the real place of this target instead of
guessing it wrong.
Diffstat (limited to 'Tests/CMakeTests/ProcessorCountTest.cmake.in')
-rw-r--r-- | Tests/CMakeTests/ProcessorCountTest.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/ProcessorCountTest.cmake.in b/Tests/CMakeTests/ProcessorCountTest.cmake.in index 98f6ab1..15e0219 100644 --- a/Tests/CMakeTests/ProcessorCountTest.cmake.in +++ b/Tests/CMakeTests/ProcessorCountTest.cmake.in @@ -9,7 +9,7 @@ message("### 3. ProcessorCount(...) function call is emitting output that it sho message("processor_count='${processor_count}'") execute_process( - COMMAND "@CMAKE_BINARY_DIR@/Source/kwsys/$ENV{CMAKE_CONFIG_TYPE}/cmsysTestsCxx" + COMMAND "${KWSYS_TEST_EXE}" testSystemInformation OUTPUT_VARIABLE tsi_out ERROR_VARIABLE tsi_err) |