Compiler flag cleanup

This commit is contained in:
Camilla Berglund
2015-12-13 20:01:01 +01:00
parent addb977ef1
commit 37c93ba031
4 changed files with 49 additions and 44 deletions

View File

@@ -8,6 +8,10 @@ else()
link_libraries(${glfw_LIBRARIES})
endif()
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
include_directories("${GLFW_SOURCE_DIR}/include"
"${GLFW_SOURCE_DIR}/deps")