mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
35 lines
813 B
CMake
35 lines
813 B
CMake
|
|
project(kioslave-file)
|
|
|
|
include_directories( ${KDE4_KIO_INCLUDES} )
|
|
|
|
include(ConfigureChecks.cmake)
|
|
configure_file(config-kioslave-file.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kioslave-file.h )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kio_file_PART_SRCS file.cpp file_unix.cpp )
|
|
|
|
kde4_add_plugin(kio_file ${kio_file_PART_SRCS})
|
|
|
|
target_link_libraries(kio_file ${KDE4_KDECORE_LIBS} kio )
|
|
|
|
if (HAVE_VOLMGT AND CMAKE_SYSTEM_NAME MATCHES SunOS)
|
|
target_link_libraries(kio_file -lvolmgt)
|
|
endif (HAVE_VOLMGT AND CMAKE_SYSTEM_NAME MATCHES SunOS)
|
|
|
|
if(ACL_FOUND)
|
|
target_link_libraries(kio_file ${ACL_LIBS})
|
|
endif(ACL_FOUND)
|
|
|
|
install(TARGETS kio_file DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES file.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|