Browse Source

allow kdevelop for cygwin

Bill Hoffman 21 years ago
parent
commit
9fd8d5f181
2 changed files with 7 additions and 4 deletions
  1. 2 2
      Source/CMakeLists.txt
  2. 5 2
      bootstrap

+ 2 - 2
Source/CMakeLists.txt

@@ -65,11 +65,11 @@ IF (APPLE)
 ENDIF (APPLE)
 
 # Kdevelop only works on UNIX and not windows
-IF(UNIX AND NOT WIN32)
+IF(UNIX)
   SET(SRCS ${SRCS}
     cmGlobalKdevelopGenerator.cxx
     cmLocalKdevelopGenerator.cxx)
-ENDIF(UNIX AND NOT WIN32)
+ENDIF(UNIX)
 
 
 IF (WIN32)

+ 5 - 2
bootstrap

@@ -389,7 +389,9 @@ rm -f "${TMPFILE}.c"
 
 if [ -z "${cmake_c_compiler}" ]; then
   cmake_error 6 "Cannot find appropriate C compiler on this system.
-Please specify one using environment variable CC."
+Please specify one using environment variable CC.
+See cmake_bootstrap.log for compilers attempted.
+"
 fi
 echo "C compiler on this system is: ${cmake_c_compiler} ${cmake_c_flags}"
 
@@ -445,7 +447,8 @@ rm -f "${TMPFILE}.cxx"
 
 if [ -z "${cmake_cxx_compiler}" ]; then
   cmake_error 7 "Cannot find appropriate C++ compiler on this system.
-Please specify one using environment variable CXX."
+Please specify one using environment variable CXX.
+See cmake_bootstrap.log for compilers attempted."
 fi
 echo "C++ compiler on this system is: ${cmake_cxx_compiler} ${cmake_cxx_flags}"