summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2017-11-25 20:27:53 +0100
committerAhmad Fatoum <[email protected]>2017-11-25 21:45:31 +0100
commitf991a075e18df5e58bd6f6f90c1b02b5b353cbe3 (patch)
tree051e2194584b063f9af06d8551b2e96d323b1528 /src
parent853cc6f4c96f4de94a11aa8317e98fd0e42c64fd (diff)
downloadraylib-f991a075e18df5e58bd6f6f90c1b02b5b353cbe3.tar.gz
raylib-f991a075e18df5e58bd6f6f90c1b02b5b353cbe3.zip
Build examples and games on Travis CI
They were disabled because they failed to build, but this patch set fixes the build on Linux and macOS. This doesn't apply to the AppVeyor build on Windows yet; it currently fails at linking with OpenAL.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 47938030..47bee1ce 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,7 +51,7 @@ if(${PLATFORM} MATCHES "Desktop")
if(APPLE)
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")
+ link_libraries("${LIBS_PRIVATE}")
elseif(WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()