]> git.jsancho.org Git - lugaru.git/commitdiff
Made sure that 'MacCompatibility.h' is used only with UNIX
authorNeal Gompa <ngompa13@gmail.com>
Fri, 14 May 2010 18:17:09 +0000 (13:17 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Fri, 14 May 2010 18:17:09 +0000 (13:17 -0500)
CMakeLists.txt

index be820958ae2671b457ceb03e1dc57856c69c26be..4833e360834086d5420fcb6719c0593b46cd58d6 100644 (file)
@@ -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