summaryrefslogtreecommitdiffstats
path: root/Tests/FortranC/Flags.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-12 14:38:32 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-15 14:26:59 (GMT)
commitd506fee81ca8fca7fe0c91da4bd4a3551d210b06 (patch)
tree3af2748680dbfd8b4cc08f27ab22357c3ec3ca61 /Tests/FortranC/Flags.cmake.in
parent11c9ddd6949eb7725de1f6b459508b23a81f25c1 (diff)
downloadCMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.zip
CMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.tar.gz
CMake-d506fee81ca8fca7fe0c91da4bd4a3551d210b06.tar.bz2
Tests: Use -A option to pass generator platform selection
This is less verbose than defining CMAKE_GENERATOR_PLATFORM.
Diffstat (limited to 'Tests/FortranC/Flags.cmake.in')
-rw-r--r--Tests/FortranC/Flags.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FortranC/Flags.cmake.in b/Tests/FortranC/Flags.cmake.in
index 9504fec..2300fc6 100644
--- a/Tests/FortranC/Flags.cmake.in
+++ b/Tests/FortranC/Flags.cmake.in
@@ -15,7 +15,7 @@ set(COMMAND)
execute_process(
WORKING_DIRECTORY "${bld}"
COMMAND ${CMAKE_COMMAND} "${src}" -G "@CMAKE_GENERATOR@"
- "-DCMAKE_GENERATOR_PLATFORM=@CMAKE_GENERATOR_PLATFORM@"
+ -A "@CMAKE_GENERATOR_PLATFORM@"
-T "@CMAKE_GENERATOR_TOOLSET@"
"-DFortranC_TEST_FLAGS=1"
"-DCMAKE_C_COMPILER=${bld}/cc.sh"