Warning, /sdk/kdesvn/src/helpers/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ####
0002  #   Copyright (C) 2005-2009 by Rajko Albrecht  ral@alwins-world.de        #
0003  #                                                                         #
0004  #   This program is free software; you can redistribute it and/or modify  #
0005  #   it under the terms of the GNU General Public License as published by  #
0006  #   the Free Software Foundation; either version 2 of the License, or     #
0007  #   (at your option) any later version.                                   #
0008  #                                                                         #
0009  #   This program is distributed in the hope that it will be useful,       #
0010  #   but WITHOUT ANY WARRANTY; without even the implied warranty of        #
0011  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         #
0012  #   GNU General Public License for more details.                          #
0013  #                                                                         #
0014  #   You should have received a copy of the GNU General Public License     #
0015  #   along with this program; if not, write to the                         #
0016  #   Free Software Foundation, Inc.,                                       #
0017  #   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         #
0018  ####
0019 
0020 set(helperssrc
0021     kdesvn_debug.cpp
0022     kdesvn_debug.h
0023     ktranslateurl.cpp
0024     ktranslateurl.h
0025     sshagent.cpp
0026     sshagent.h
0027     stringhelper.h
0028     windowgeometryhelper.cpp
0029     windowgeometryhelper.h
0030 )
0031 
0032 add_library(kdesvnhelpers STATIC ${helperssrc} ${hdr})
0033 target_include_directories(kdesvnhelpers
0034     PUBLIC
0035         ${CMAKE_CURRENT_SOURCE_DIR}/../
0036 )
0037 target_link_libraries(kdesvnhelpers
0038     PRIVATE
0039         kdesvncfgreader
0040         KF5::CoreAddons
0041         Qt::Widgets
0042     PUBLIC
0043         svnqt
0044 )
0045 
0046 if (QT_MAJOR_VERSION STREQUAL "6")
0047     target_link_libraries(kdesvnhelpers PRIVATE Qt6::Core5Compat) # QRegExp
0048 endif()