summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-21 14:15:42 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-21 14:15:42 (GMT)
commit3b4aa3bf3581dc81fbdd307b9ed432a8a306a514 (patch)
treee05b2dfe3fe0083091afaeb93adfc0ed78a957af /Tests
parenta7a1e40afadc4e464053da7b604ed707889919d3 (diff)
downloadCMake-3b4aa3bf3581dc81fbdd307b9ed432a8a306a514.zip
CMake-3b4aa3bf3581dc81fbdd307b9ed432a8a306a514.tar.gz
CMake-3b4aa3bf3581dc81fbdd307b9ed432a8a306a514.tar.bz2
BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
-also generate the fortran test with the kdevelop generator Alex
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 59f5c08..8b6fb87 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -670,7 +670,8 @@ IF(BUILD_TESTING)
# fortran does not work for IDE builds because
# CMAKE_STANDARD_LIBRARIES needs to be per language
- IF(CMAKE_TEST_GENERATOR MATCHES "Makefiles")
+ IF(CMAKE_TEST_GENERATOR MATCHES "Makefiles"
+ OR CMAKE_TEST_GENERATOR MATCHES "KDevelop")
# see if we can find a fortran compiler on the machine
# if so, add the fortran test and see if it works.
SET(CMAKE_Fortran_COMPILER_LIST ifort ifc efc f95 pgf95
@@ -690,7 +691,8 @@ IF(BUILD_TESTING)
--build-two-config
--test-command testf)
ENDIF(CMAKE_Fortran_COMPILER_FULLPATH)
- ENDIF(CMAKE_TEST_GENERATOR MATCHES "Makefiles")
+ ENDIF(CMAKE_TEST_GENERATOR MATCHES "Makefiles"
+ OR CMAKE_TEST_GENERATOR MATCHES "KDevelop")
IF(NOT CMAKE_TEST_GENERATOR MATCHES "Xcode")
INCLUDE(FindJava)
IF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE AND NOT MINGW)