diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-25 15:59:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-25 15:59:50 (GMT) |
commit | 7ed631311c2b85eb927f22b01ed29619d957f132 (patch) | |
tree | 28d2d4251e7402e15145b479046d68e3ca6d0148 /Tests/LoadCommandOneConfig | |
parent | a3ce1fb293da2f5d5abb54bfbfa9afb35b238955 (diff) | |
download | CMake-7ed631311c2b85eb927f22b01ed29619d957f132.zip CMake-7ed631311c2b85eb927f22b01ed29619d957f132.tar.gz CMake-7ed631311c2b85eb927f22b01ed29619d957f132.tar.bz2 |
FIX: fix RunSingleCommand to work with spaces in the path, and with an already quoted command
Diffstat (limited to 'Tests/LoadCommandOneConfig')
-rw-r--r-- | Tests/LoadCommandOneConfig/LoadedCommand.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/LoadCommandOneConfig/LoadedCommand.cxx b/Tests/LoadCommandOneConfig/LoadedCommand.cxx index 8c125f0..04daff0 100644 --- a/Tests/LoadCommandOneConfig/LoadedCommand.cxx +++ b/Tests/LoadCommandOneConfig/LoadedCommand.cxx @@ -17,7 +17,11 @@ int main () printf("Should have ADDED_DEFINITION defined\n"); return 1; #endif - + if(SIZEOF_CHAR != 1) + { + printf("Size of char is not one, something is broken\n"); + } + #ifdef CMAKE_IS_FUN return SIZEOF_CHAR-1; #else |