Merge pull request #640 from tehnick/fix-build-with-case-sensitive-includes
Fix builds with case sensitive includes
This commit is contained in:
commit
83e51f1ab4
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#pragma warning( disable : 4244 )
|
||||
#endif
|
||||
|
||||
|
@ -19,7 +19,7 @@ IF(WIN32)
|
||||
mdns_win/dns_sd.h
|
||||
mdns_win/dns-sd.c
|
||||
)
|
||||
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};Ws2_32.lib;winmm")
|
||||
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};ws2_32.lib;winmm")
|
||||
SET(TARGET_LIBRARIES_VARS ZEROCONF_LIBRARY)
|
||||
ADD_DEFINITIONS(-DNOT_HAVE_GETOPT)
|
||||
ADD_DEFINITIONS(-DNOT_HAVE_SETLINEBUF)
|
||||
|
@ -13,8 +13,8 @@
|
||||
#define MESH_TYPEDEFS_H
|
||||
|
||||
# if defined(_MSC_VER)
|
||||
# include <Winsock2.h>
|
||||
# include <Windows.h>
|
||||
# include <winsock2.h>
|
||||
# include <windows.h>
|
||||
# endif
|
||||
|
||||
# include <osg/Notify>
|
||||
|
@ -27,7 +27,7 @@ IF (WIN32)
|
||||
PNG_LIBRARY
|
||||
ZLIB_LIBRARIES)
|
||||
SET(TARGET_EXTERNAL_LIBRARIES
|
||||
Ws2_32.lib)
|
||||
ws2_32.lib)
|
||||
ELSE()
|
||||
SET(TARGET_LIBRARIES_VARS
|
||||
OPENVRML_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user