mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: remove now redundant check for FAM
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
c0f9e23fa1
commit
e5869fc88c
3 changed files with 0 additions and 35 deletions
|
@ -127,14 +127,6 @@ set_package_properties(MPV PROPERTIES
|
|||
PURPOSE "Media preview, sound notifications, etc."
|
||||
)
|
||||
|
||||
macro_optional_find_package(FAM)
|
||||
set_package_properties(FAM PROPERTIES
|
||||
DESCRIPTION "File alteration notification support via a separate service"
|
||||
URL "http://oss.sgi.com/projects/fam"
|
||||
TYPE OPTIONAL
|
||||
PURPOSE "Provides file alteration notification facilities using a separate service."
|
||||
)
|
||||
|
||||
################# Disallow in-source build #################
|
||||
|
||||
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
# - Try to find the FAM directory notification library
|
||||
# Once done this will define
|
||||
#
|
||||
# FAM_FOUND - system has FAM
|
||||
# FAM_INCLUDE_DIR - the FAM include directory
|
||||
# FAM_LIBRARIES - The libraries needed to use FAM
|
||||
|
||||
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
|
||||
FIND_PATH(FAM_INCLUDE_DIR fam.h)
|
||||
|
||||
FIND_LIBRARY(FAM_LIBRARIES NAMES fam )
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FAM DEFAULT_MSG FAM_INCLUDE_DIR FAM_LIBRARIES )
|
||||
|
||||
MARK_AS_ADVANCED(FAM_INCLUDE_DIR FAM_LIBRARIES)
|
||||
|
|
@ -289,11 +289,6 @@ target_link_libraries(kdecore PRIVATE
|
|||
${kdecore_OPTIONAL_LIBS}
|
||||
)
|
||||
|
||||
if(FAM_FOUND)
|
||||
include_directories(${FAM_INCLUDE_DIR})
|
||||
target_link_libraries(kdecore PRIVATE ${FAM_LIBRARIES})
|
||||
endif(FAM_FOUND)
|
||||
|
||||
if(NOT HAVE_TRUNC)
|
||||
target_link_libraries(kdecore PRIVATE m)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue