From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15172 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-10-26 11:43:28 +00:00
parent 5310a96c73
commit 636d595912
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ using namespace osg;
using namespace std; using namespace std;
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
#include<Windows.h> #include<windows.h>
extern "C" { OSG_EXPORT DWORD NvOptimusEnablement=0x00000001; } extern "C" { OSG_EXPORT DWORD NvOptimusEnablement=0x00000001; }
#else #else
extern "C" { int NvOptimusEnablement=0x00000001; } extern "C" { int NvOptimusEnablement=0x00000001; }

View File

@ -35,7 +35,7 @@ if(WIN32 AND NOT ANDROID)
ip/win32/NetworkingUtils.cpp ip/win32/NetworkingUtils.cpp
ip/win32/UdpSocket.cpp ip/win32/UdpSocket.cpp
) )
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};Ws2_32.lib;winmm") SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};ws2_32.lib;winmm")
ELSE() ELSE()
SET(TARGET_SRC SET(TARGET_SRC
${TARGET_SRC} ${TARGET_SRC}