From: Neal Gompa Date: Sun, 16 May 2010 05:52:55 +0000 (-0500) Subject: Added a line to enforce inclusion of C99 support headers for MSVC X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=bbf7582c00138ab38f84b6acf52e76175bfebb79;p=lugaru.git Added a line to enforce inclusion of C99 support headers for MSVC --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ee5c085..fe7c8b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,6 +191,10 @@ if(WIN32) include_directories("${DEPDIR}/OpenGL") endif(WIN32) +if(MSVC) # More Visual Studio annoyances + include_directories("${DEPDIR}/msinttypes") +endif(MSVC) + option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal libOpenAL, even if there's a system version" False) if (NOT LUGARU_FORCE_INTERNAL_OPENAL) find_package(OpenAL REQUIRED)