mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +00:00
Find correct library for MSVC vs MingW in Winows
This commit is contained in:
parent
3e78b29cae
commit
9fa4b72a47
2 changed files with 8 additions and 5 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue