Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fancy2209
SRB2
Commits
0c9081f7
Commit
0c9081f7
authored
9 years ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
cmake: try to fixup mac build
parent
23c9892f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sdl/CMakeLists.txt
+3
-3
3 additions, 3 deletions
src/sdl/CMakeLists.txt
with
3 additions
and
3 deletions
src/sdl/CMakeLists.txt
+
3
−
3
View file @
0c9081f7
...
...
@@ -117,7 +117,7 @@ if(${SDL2_FOUND})
add_executable
(
SRB2SDL2 MACOSX_BUNDLE WIN32
${
SRB2_SDL2_TOTAL_SOURCES
}
)
set_target_properties
(
SRB2SDL2 PROPERTIES OUTPUT_NAME
${
SRB2_SDL2_EXE_NAME
}
)
if
(
(
CMAKE_
CXX_COMPILER_ID STREQUAL
"AppleClang"
)
)
if
(
${
CMAKE_
SYSTEM
}
MATCHES Darwin
)
add_framework
(
CoreFoundation SRB2SDL2
)
add_framework
(
SDL2 SRB2SDL2
)
add_framework
(
SDL2_mixer SRB2SDL2
)
...
...
@@ -227,7 +227,7 @@ if(${SDL2_FOUND})
endif
()
#### Installation ####
if
(
CMAKE_
CXX_COMPILER_ID STREQUAL
"AppleClang"
)
if
(
${
CMAKE_
SYSTEM
}
MATCHES Darwin
)
install
(
TARGETS SRB2SDL2
BUNDLE DESTINATION .
)
...
...
@@ -268,7 +268,7 @@ if(${SDL2_FOUND})
# Mac bundle fixup
if
(
CMAKE_
CXX_COMPILER_ID STREQUAL
"AppleClang"
)
if
(
${
CMAKE_
SYSTEM
}
MATCHES Darwin
)
install
(
CODE
"
include(BundleUtilities)
fixup_bundle(
\"
${
CMAKE_INSTALL_PREFIX
}
/Sonic Robo Blast 2.app
\"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment