From cfe06ed30fb83c7406cb93c92aaeb68025fe6079 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 2 Mar 2014 22:07:32 -0700 Subject: [PATCH] CMake: Fix building p3display under OSX. --- panda/src/display/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/panda/src/display/CMakeLists.txt b/panda/src/display/CMakeLists.txt index 106fab5646..583b60f79e 100644 --- a/panda/src/display/CMakeLists.txt +++ b/panda/src/display/CMakeLists.txt @@ -78,12 +78,17 @@ if(HAVE_PYTHON) ) endif() -if(OSX_PLATFORM) - set(P3DISPLAY_HEADER +if(APPLE) + set(P3DISPLAY_HEADERS ${P3DISPLAY_HEADERS} subprocessWindowBuffer.h subprocessWindowBuffer.I ) + + set(P3DISPLAY_SOURCES + ${P3DISPLAY_SOURCES} + subprocessWindowBuffer.cxx + ) endif() composite_sources(p3display P3DISPLAY_SOURCES)