@ -2,6 +2,10 @@ include_directories(${GLFW_SOURCE_DIR}/src
${GLFW_BINARY_DIR}/src
${glfw_INCLUDE_DIRS})
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
set(common_HEADERS ${GLFW_SOURCE_DIR}/include/GL/glfw3.h internal.h)
set(common_SOURCES clipboard.c fullscreen.c gamma.c init.c input.c
joystick.c opengl.c time.c window.c)
@ -28,6 +28,8 @@
//
//========================================================================
#include "tinycthread.h"
#include <GL/glfw3.h>
#include <stdio.h>
@ -35,8 +37,6 @@
#include <math.h>
#include <assert.h>
typedef struct
{
GLFWwindow window;