]> git.jsancho.org Git - lugaru.git/blobdiff - CMakeLists.txt
Added in 'stdint.h' and 'inttypes.h' for MSVC as Dependencies, since MSVC isn't C99...
[lugaru.git] / CMakeLists.txt
index 81af4a836730b166eb7eaa070b8aee711b665df4..d524e8ccb4c191df4ec38b6eea6e0fdb411baa02 100644 (file)
@@ -70,6 +70,14 @@ if(UNIX)
        )
 endif(UNIX)
 
+if(MSVC) # MSVC non-C99 support biting us hard
+       set(LUGARU_H
+               ${LUGARU_H}
+               ${DEPDIR}/msinttypes/stdint.h
+               ${DEPDIR}/msinttypes/inttypes.h
+       )
+endif(MSVC)
+
 set(LUGARU_H
        ${SRCDIR}/Constants.h
        ${SRCDIR}/Frustum.h