diff options
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d3bfa7376..2f6d7132f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |