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:
Tomaz Canabrava 2015-04-09 23:33:58 -03:00 committed by Dirk Hohndel
parent 54453abe49
commit 8e32faa866

View file

@ -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