From: Neal Gompa Date: Fri, 14 May 2010 06:46:37 +0000 (-0500) Subject: Added in 'stdint.h' and 'inttypes.h' for MSVC as Dependencies, since MSVC isn't C99... X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=ca0e77c077c73de27f7528e2fa5c1b9f6bedf471 Added in 'stdint.h' and 'inttypes.h' for MSVC as Dependencies, since MSVC isn't C99 compliant --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 81af4a8..d524e8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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