aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2017-11-23 09:59:36 +0100
committerGitHub <noreply@github.com>2017-11-23 09:59:36 +0100
commit08200f8f408d430ce1b58e546afb0f20890f2ff6 (patch)
treefe8f0c4f8a1a4b1f5b74c901f4419ea38e1c8658 /src
parent96e0f0e35ed96b7345acf6f3329b67518c11d946 (diff)
parent17c91bad6f4c44c93933190eba5f08b69b257a67 (diff)
downloadraylib-08200f8f408d430ce1b58e546afb0f20890f2ff6.tar.gz
raylib-08200f8f408d430ce1b58e546afb0f20890f2ff6.zip
Merge pull request #393 from a3f/develop
Add AppVeyor CI for automatic Windows Builds
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f362b52f..6ab8e606 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -21,6 +21,7 @@ set_property(CACHE OPENGL_VERSION PROPERTY STRINGS "3.3" "2.1" "1.1" "ES 2.0")
### Config options ###
include_directories(external/glfw/include)
+include_directories(external/openal/include) # For use with AppVeyor on Windows
# Translate the config options to what raylib wants
if(${PLATFORM} MATCHES "Desktop")
@@ -43,6 +44,8 @@ if(${PLATFORM} MATCHES "Desktop")
set(GRAPHICS "GRAPHICS_API_OPENGL_33")
set_source_files_properties(rglfw.c PROPERTIES COMPILE_FLAGS "-x objective-c")
link_libraries("-framework CoreFoundation -framework Cocoa -framework IOKit -framework CoreVideo")
+ elseif(WIN32)
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
elseif(${PLATFORM} MATCHES "Web")
set(PLATFORM "PLATFORM_WEB")