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
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
1fc240fb
Commit
1fc240fb
authored
10 years ago
by
Eidolon
Browse files
Options
Downloads
Patches
Plain Diff
Fix SDL2 searching for main when it wasn't necessary.
parent
0ab6710d
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
cmake/Modules/FindSDL2.cmake
+0
-12
0 additions, 12 deletions
cmake/Modules/FindSDL2.cmake
with
0 additions
and
12 deletions
cmake/Modules/FindSDL2.cmake
+
0
−
12
View file @
1fc240fb
...
@@ -27,19 +27,7 @@ find_library(SDL2_LIBRARY
...
@@ -27,19 +27,7 @@ find_library(SDL2_LIBRARY
"/usr/local/lib"
"/usr/local/lib"
)
)
find_library
(
SDL2_MAIN_LIBRARY
NAMES SDL2_main
PATHS
${
SDL2_PKGCONF_LIBRARY_DIRS
}
/usr/lib
/usr/local/lib
)
# set include dir variables
# set include dir variables
set
(
SDL2_PROCESS_INCLUDES SDL2_INCLUDE_DIR
)
set
(
SDL2_PROCESS_INCLUDES SDL2_INCLUDE_DIR
)
set
(
SDL2_PROCESS_LIBS SDL2_LIBRARY
)
set
(
SDL2_PROCESS_LIBS SDL2_LIBRARY
)
set
(
SDL2_MAIN_PROCESS_INCLUDES SDL2_INCLUDE_DIR
)
set
(
SDL2_MAIN_PROCESS_LIBS SDL2_MAIN_LIBRARY
)
libfind_process
(
SDL2
)
libfind_process
(
SDL2
)
libfind_process
(
SDL2_MAIN
)
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