diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2009-10-05 14:00:32 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2009-10-05 14:00:32 +0200 |
commit | a7d51435e12ed40849ce807fc67e87c06b1dbc0c (patch) | |
tree | aadd376dc583d2ab98e2ce25e30482ed643d2ba6 | |
parent | a9a9ba8453853db2c5a2212cedb8fbc8dc4cde2e (diff) |
added cygwin specific stuff
-rw-r--r-- | cmake/EigenTesting.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index 0ea6dddb4..d043f67b8 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -96,7 +96,11 @@ macro(ei_add_test testname) endif(${ARGC} GREATER 2) if(WIN32) - add_test(${testname} "${targetname}") + if(CYGWIN) + add_test(${testname} "${Eigen_SOURCE_DIR}/test/runtest.sh" "${testname}") + else(CYGWIN) + add_test(${testname} "${targetname}") + endif(CYGWIN) else(WIN32) add_test(${testname} "${Eigen_SOURCE_DIR}/test/runtest.sh" "${testname}") endif(WIN32) |