mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
CMake: Remove remaining references to HAVE_CARBON
This commit is contained in:
parent
6097d34ead
commit
12036c7ed0
@ -477,8 +477,6 @@ endif()
|
|||||||
|
|
||||||
cmake_dependent_option(HAVE_COCOA "Enable Cocoa. Requires Mac OS X." ON
|
cmake_dependent_option(HAVE_COCOA "Enable Cocoa. Requires Mac OS X." ON
|
||||||
"APPLE" OFF)
|
"APPLE" OFF)
|
||||||
cmake_dependent_option(HAVE_CARBON "Enable Carbon. Requires Mac OS X." OFF
|
|
||||||
"APPLE" OFF)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Miscellaneous settings
|
# Miscellaneous settings
|
||||||
|
@ -370,7 +370,6 @@
|
|||||||
|
|
||||||
/* Define to compile for Cocoa or Carbon on Mac OS X. */
|
/* Define to compile for Cocoa or Carbon on Mac OS X. */
|
||||||
#cmakedefine HAVE_COCOA
|
#cmakedefine HAVE_COCOA
|
||||||
#cmakedefine HAVE_CARBON
|
|
||||||
|
|
||||||
/* Platform-identifying defines. */
|
/* Platform-identifying defines. */
|
||||||
#cmakedefine IS_OSX
|
#cmakedefine IS_OSX
|
||||||
|
@ -17,15 +17,11 @@ elseif(HAVE_COCOA)
|
|||||||
set(PANDAGL_PIPE_TYPE "CocoaGraphicsPipe")
|
set(PANDAGL_PIPE_TYPE "CocoaGraphicsPipe")
|
||||||
set(PANDAGL_PIPE_INCLUDE "cocoaGraphicsPipe.h")
|
set(PANDAGL_PIPE_INCLUDE "cocoaGraphicsPipe.h")
|
||||||
|
|
||||||
elseif(HAVE_CARBON)
|
|
||||||
list(APPEND PANDAGL_LINK_TARGETS p3osxdisplay)
|
|
||||||
set(PANDAGL_PIPE_TYPE "osxGraphicsPipe")
|
|
||||||
|
|
||||||
else()
|
else()
|
||||||
message("") # Add extra line before error
|
message("") # Add extra line before error
|
||||||
message(SEND_ERROR
|
message(SEND_ERROR
|
||||||
"When compiling with OpenGL (HAVE_GL), at least one of:
|
"When compiling with OpenGL (HAVE_GL), at least one of:
|
||||||
HAVE_WGL, HAVE_COCOA, HAVE_CARBON, or HAVE_GLX must be defined.")
|
HAVE_WGL, HAVE_COCOA, or HAVE_GLX must be defined.")
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user