From: Neal Gompa Date: Fri, 14 May 2010 18:17:09 +0000 (-0500) Subject: Made sure that 'MacCompatibility.h' is used only with UNIX X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=980959d6da4f0cd440372c0efd25b89f8a034cb6 Made sure that 'MacCompatibility.h' is used only with UNIX --- diff --git a/CMakeLists.txt b/CMakeLists.txt index be82095..4833e36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,13 +78,19 @@ if(MSVC) # MSVC non-C99 support biting us hard ) endif(MSVC) +if(UNIX) + set(LUGARU_H + ${LUGARU_H} + ${SRCDIR}/MacCompatibility.h + ) +endif(UNIX) + set(LUGARU_H ${SRCDIR}/Constants.h ${SRCDIR}/Frustum.h ${SRCDIR}/Game.h ${SRCDIR}/Lights.h ${SRCDIR}/LinkedList.h - ${SRCDIR}/MacCompatibility.h ${SRCDIR}/Models.h ${SRCDIR}/Objects.h ${SRCDIR}/Person.h