From 980959d6da4f0cd440372c0efd25b89f8a034cb6 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 14 May 2010 13:17:09 -0500 Subject: [PATCH] Made sure that 'MacCompatibility.h' is used only with UNIX --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2