From 7443d8b4e96c34200217c02fbf51000b9b84b77f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 28 Aug 2014 09:15:33 +0200 Subject: [PATCH] bug #867: forward the cmake generator when testing support for fortran. (was already fixed in the default branch) --- cmake/language_support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/language_support.cmake b/cmake/language_support.cmake index d687b71f6..231f7ff70 100644 --- a/cmake/language_support.cmake +++ b/cmake/language_support.cmake @@ -33,7 +33,7 @@ function(workaround_9220 language language_works) file(WRITE ${CMAKE_BINARY_DIR}/language_tests/${language}/CMakeLists.txt ${text}) execute_process( - COMMAND ${CMAKE_COMMAND} . + COMMAND ${CMAKE_COMMAND} . -G "${CMAKE_GENERATOR}" WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/language_tests/${language} RESULT_VARIABLE return_code OUTPUT_QUIET