aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-04-01 22:07:05 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-04-01 22:07:05 -0700
commitaecc78325a1bd76bc02f2435fd488ef1cf6d97af (patch)
tree479504f45ec474e0a1b54a0c966287f0b7cdaf8f /cmake
parent93870d95b7b8a7716ab825d559e7af5f7f84308a (diff)
parent1cb8de12501b3db3d12774774cbbe12983243cee (diff)
Pulled the latest updates from the eigen trunk.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/language_support.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/language_support.cmake b/cmake/language_support.cmake
index d687b71f6..93f8a8fd8 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
@@ -64,3 +64,4 @@ endfunction(workaround_9220)
#message("CXX_language_works = ${CXX_language_works}")
#workaround_9220(CXXp CXXp_language_works)
#message("CXXp_language_works = ${CXXp_language_works}")
+