Commit 87dc5545 authored by Àlex Fiestas's avatar Àlex Fiestas
Browse files

Remove CMake no longer needed for spltited repos.

Mostly remove
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
parent 40fe123e
......@@ -37,18 +37,14 @@ find_package(KF5 CONFIG REQUIRED COMPONENTS
KDE4Support #for SensorDisplay.cpp
)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
find_package(KF5 CONFIG REQUIRED COMPONENTS SysGuard)
endif()
find_package(KF5 CONFIG REQUIRED COMPONENTS SysGuard)
find_package(Sensors)
set_package_properties(Sensors PROPERTIES
TYPE OPTIONAL
PURPOSE "Allows to show sensor information")
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
configure_file(config-workspace.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-workspace.h)
......
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
cmake_minimum_required(VERSION 2.6.2)
endif()
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/CContLib/ )
# Laurent: Verify that we install it into (kdeprefix)/etc/ and not into /etc
......
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