From 1879917d355a473401f27e903aa30422d4934c41 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 5 Oct 2015 16:18:22 +0200 Subject: Propagate cmake generator --- cmake/language_support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/language_support.cmake b/cmake/language_support.cmake index 93f8a8fd8..2f14f30b8 100644 --- a/cmake/language_support.cmake +++ b/cmake/language_support.cmake @@ -43,7 +43,7 @@ function(workaround_9220 language language_works) if(return_code EQUAL 0) # Second run 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 -- cgit v1.2.3