Skip to content

Commit

Permalink
CMake: Remove remaining references to HAVE_CARBON
Browse files Browse the repository at this point in the history
  • Loading branch information
CFSworks committed Apr 15, 2019
1 parent 6097d34 commit 12036c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions dtool/Config.cmake
Expand Up @@ -477,8 +477,6 @@ endif()

cmake_dependent_option(HAVE_COCOA "Enable Cocoa. Requires Mac OS X." ON
"APPLE" OFF)
cmake_dependent_option(HAVE_CARBON "Enable Carbon. Requires Mac OS X." OFF
"APPLE" OFF)

#
# Miscellaneous settings
Expand Down
1 change: 0 additions & 1 deletion dtool/dtool_config.h.in
Expand Up @@ -370,7 +370,6 @@

/* Define to compile for Cocoa or Carbon on Mac OS X. */
#cmakedefine HAVE_COCOA
#cmakedefine HAVE_CARBON

/* Platform-identifying defines. */
#cmakedefine IS_OSX
Expand Down
6 changes: 1 addition & 5 deletions panda/metalibs/pandagl/CMakeLists.txt
Expand Up @@ -17,15 +17,11 @@ elseif(HAVE_COCOA)
set(PANDAGL_PIPE_TYPE "CocoaGraphicsPipe")
set(PANDAGL_PIPE_INCLUDE "cocoaGraphicsPipe.h")

elseif(HAVE_CARBON)
list(APPEND PANDAGL_LINK_TARGETS p3osxdisplay)
set(PANDAGL_PIPE_TYPE "osxGraphicsPipe")

else()
message("") # Add extra line before error
message(SEND_ERROR
"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()

Expand Down

0 comments on commit 12036c7

Please sign in to comment.