Permalink
Browse files

Merge pull request #640 from tehnick/fix-build-with-case-sensitive-in…

…cludes

Fix builds with case sensitive includes
  • Loading branch information...
openscenegraph committed Oct 10, 2018
2 parents 81998b0 + dbb00f6 commit 83e51f1ab4b5a38101689fdac17d2367bc80c296
@@ -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)

0 comments on commit 83e51f1

Please sign in to comment.