Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
02695beb
Commit
02695beb
authored
13 years ago
by
Giuseppe Bilotta
Browse files
Options
Downloads
Patches
Plain Diff
Find correct library for MSVC vs MingW in Winows
parent
7b93fb59
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/Modules/FindGettextLib.cmake
+8
-1
8 additions, 1 deletion
cmake/Modules/FindGettextLib.cmake
src/CMakeLists.txt
+0
-4
0 additions, 4 deletions
src/CMakeLists.txt
with
8 additions
and
5 deletions
cmake/Modules/FindGettextLib.cmake
+
8
−
1
View file @
02695beb
...
...
@@ -20,8 +20,15 @@ FIND_PROGRAM(GETTEXT_MSGFMT
# they do not because gettext is part of glibc
# TODO check the requirements on other BSDs and older Linux
IF
(
WIN32
)
IF
(
MSVC
)
SET
(
GETTEXT_LIB_NAMES
libintl.lib intl.lib libintl3.lib intl3.lib
)
ELSE
()
SET
(
GETTEXT_LIB_NAMES
libintl.dll.a intl.dll.a libintl3.dll.a intl3.dll.a
)
ENDIF
()
FIND_LIBRARY
(
GETTEXT_LIBRARY
NAMES
libintl.lib intl.lib libintl3.lib intl3.lib
NAMES
${
GETTEXT_LIB_NAMES
}
PATHS
"
${
CUSTOM_GETTEXT_PATH
}
/lib"
DOC
"gettext *intl*.lib"
)
FIND_LIBRARY
(
GETTEXT_DLL
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
0
−
4
View file @
02695beb
...
...
@@ -235,10 +235,6 @@ else()
set
(
ARCH i386
)
endif
()
if
(
WIN32 AND USE_GETTEXT
)
set
(
CMAKE_EXE_LINKER_FLAGS
"-l
${
GETTEXT_LIBRARY
}
"
)
endif
()
set
(
CMAKE_CXX_FLAGS_RELEASE
"-DNDEBUG
${
RELEASE_WARNING_FLAGS
}
${
WARNING_FLAGS
}
-O3 -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g -O1 -Wall
${
WARNING_FLAGS
}
"
)
...
...
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