aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-05 16:18:22 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-05 16:18:22 +0200
commit1879917d355a473401f27e903aa30422d4934c41 (patch)
treeb3ca3b043c3751bc63a021f963428d15170cbfb3 /cmake
parentdeb261f64b9439f3a9a686b566c188b0d052e5b9 (diff)
Propagate cmake generator
Diffstat (limited to 'cmake')
-rw-r--r--cmake/language_support.cmake2
1 files changed, 1 insertions, 1 deletions
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