CMake: Fix building p3display under OSX.

This commit is contained in:
Sam Edwards 2014-03-02 22:07:32 -07:00
parent 0bcce442c3
commit cfe06ed30f
1 changed files with 7 additions and 2 deletions

View File

@ -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)