This commit is contained in:
Andy Cedilnik 2003-02-11 13:56:35 -05:00
parent a6c2c80757
commit 5a31a94f84
1 changed files with 3 additions and 3 deletions

View File

@ -41,14 +41,14 @@ IF(APPLE)
SET(JAVA_HAVE_FRAMEWORK 1)
ENDIF(EXISTS /System/Library/Frameworks/JavaEmbedding.framework)
IF(JAVA_HAVE_FRAMEWORK)
IF(NOT JAVA_LIBRARY)
SET (JAVA_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE)
IF(NOT JAVA_AWT_LIBRARY)
SET (JAVA_AWT_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE)
SET(JAVA_AWT_INCLUDE_DIRECTORIES
~/Library/Frameworks/JavaEmbedding.framework/Headers
/Library/Frameworks/JavaEmbedding.framework/Headers
/System/Library/Frameworks/JavaEmbedding.framework/Headers
)
ENDIF(NOT JAVA_LIBRARY)
ENDIF(NOT JAVA_AWT_LIBRARY)
ENDIF(JAVA_HAVE_FRAMEWORK)
ENDIF(APPLE)