Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YGOPRO-520DIY
ygopro
Commits
293618b1
Commit
293618b1
authored
Nov 21, 2019
by
Liu Junyan
Committed by
DailyShana
Jan 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: fix problems with building on macos
parent
ec70129b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gframe/CMakeLists.txt
gframe/CMakeLists.txt
+6
-0
gframe/config.h
gframe/config.h
+5
-0
No files found.
gframe/CMakeLists.txt
View file @
293618b1
...
...
@@ -48,6 +48,12 @@ else ()
target_link_libraries
(
ygopro
${
CMAKE_THREAD_LIBS_INIT
}
${
DL_LIBRARIES
}
)
endif
()
if
(
APPLE
)
find_library
(
COCOA_LIBRARY Cocoa
)
find_library
(
IOKIT_LIBRARY IOKit
)
target_link_libraries
(
ygopro
${
COCOA_LIBRARY
}
${
IOKIT_LIBRARY
}
)
endif
()
if
(
USE_IRRKLANG
)
add_definitions
(
"-DYGOPRO_USE_IRRKLANG"
)
if
(
MSVC
)
...
...
gframe/config.h
View file @
293618b1
...
...
@@ -56,8 +56,13 @@ inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR... args) {
}
#include <irrlicht.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else //__APPLE__
#include <GL/gl.h>
#include <GL/glu.h>
#endif //__APPLE__
#include "CGUITTFont.h"
#include "CGUIImageButton.h"
#include <iostream>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment