diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-12 19:23:03 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-12 19:23:03 (GMT) |
commit | 8ec0f76e889742149da148c414dbe87bf01b0828 (patch) | |
tree | 032f5dbc86bbf5b982843e4cdf092e631df63b9e | |
parent | 17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32 (diff) | |
download | CMake-8ec0f76e889742149da148c414dbe87bf01b0828.zip CMake-8ec0f76e889742149da148c414dbe87bf01b0828.tar.gz CMake-8ec0f76e889742149da148c414dbe87bf01b0828.tar.bz2 |
ENH: lang by custom command does not yet work for Xcode
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 9e2d6c1..e657f49 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1036,6 +1036,7 @@ IF(BUILD_TESTING) --test-command testf) ENDIF(CMAKE_Fortran_COMPILER_FULLPATH) ENDIF(CMAKE_TEST_GENERATOR MATCHES "Makefiles") + IF(NOT CMAKE_TEST_GENERATOR MATCHES "Xcode") INCLUDE(FindJava) IF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE AND NOT MINGW) GET_FILENAME_COMPONENT(JNIPATH ${JAVA_COMPILE} PATH) @@ -1058,7 +1059,8 @@ IF(BUILD_TESTING) ENDIF("${JNI_FILE}" MATCHES "JDK1_2") ENDIF(JNI_H) ENDIF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE AND NOT MINGW) - + ENDIF(NOT CMAKE_TEST_GENERATOR MATCHES "Xcode") + IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR) # Will be set if the wxwindows gui is on |