Commit 1f2e356d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up

parent 04f4e472
......@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 2.8.12)
project(MailImporter)
if(${CMAKE_SOURCE_DIR} STREQUAL ${MailImporter_SOURCE_DIR})
# ECM setup
find_package(ECM 5.16.0 CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
set(LIBRARY_NAMELINK)
......@@ -71,13 +69,6 @@ install(FILES
)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
else()
ecm_setup_version(${KDEPIM_LIB_VERSION} VARIABLE_PREFIX MAILIMPORTER
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/mailimporter_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5MailImporterConfigVersion.cmake"
SOVERSION 5
)
endif()
add_definitions(-DTRANSLATION_DOMAIN=\"libmailimporter\")
add_subdirectory(src)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment