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/trunk@15169 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
85cdfff7a7
commit
f893dc5ad1
@ -24,7 +24,7 @@ using namespace osg;
|
||||
using namespace std;
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include<Windows.h>
|
||||
#include<windows.h>
|
||||
extern "C" { OSG_EXPORT DWORD NvOptimusEnablement=0x00000001; }
|
||||
#else
|
||||
extern "C" { int NvOptimusEnablement=0x00000001; }
|
||||
|
@ -35,7 +35,7 @@ if(WIN32 AND NOT ANDROID)
|
||||
ip/win32/NetworkingUtils.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()
|
||||
SET(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
|
Loading…
Reference in New Issue
Block a user