mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cmake: remove references to LRELEASE
This is being taken care by Qt5::LinguistTool Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
54453abe49
commit
8e32faa866
1 changed files with 0 additions and 9 deletions
|
@ -119,9 +119,6 @@ SET(PLATFORM_SRC unknown_platform.c)
|
|||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(SUBSURFACE_TARGET subsurface)
|
||||
SET(PLATFORM_SRC linux.c)
|
||||
if(NOT DEFINED LRELEASE)
|
||||
set(LRELEASE lrelease)
|
||||
endif()
|
||||
# in some builds we appear to be missing libz for some strange reason...
|
||||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lz)
|
||||
ENDIF()
|
||||
|
@ -130,9 +127,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|||
SET(PLATFORM_SRC macos.c)
|
||||
FIND_LIBRARY(APP_SERVICES_LIBRARY ApplicationServices )
|
||||
SET(EXTRA_LIBS ${APP_SERVICES_LIBRARY})
|
||||
if(NOT DEFINED LRELEASE)
|
||||
set(LRELEASE lrelease)
|
||||
endif()
|
||||
SET(ICON_FILE ${CMAKE_SOURCE_DIR}/packaging/macosx/Subsurface.icns)
|
||||
SET(MACOSX_BUNDLE_INFO_STRING "Subsurface")
|
||||
SET(MACOSX_BUNDLE_ICON_FILE Subsurface.icns)
|
||||
|
@ -151,9 +145,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
|||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lwsock32)
|
||||
remove_definitions(-DUNICODE)
|
||||
add_definitions(-mwindows)
|
||||
if(NOT DEFINED LRELEASE)
|
||||
set(LRELEASE lrelease.exe)
|
||||
endif()
|
||||
ENDIF()
|
||||
|
||||
# include translations
|
||||
|
|
Loading…
Reference in a new issue