From 1f85a65078815b56bbb5581675b4f6e3253d8d9f Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 25 Oct 2018 12:47:39 +0200 Subject: Remove CMakeLists --- 3rd-party/SingleApplication/CMakeLists.txt | 30 ------------------------------ 3rd-party/breakpad/CMakeLists.txt | 13 ------------- 2 files changed, 43 deletions(-) delete mode 100644 3rd-party/SingleApplication/CMakeLists.txt delete mode 100644 3rd-party/breakpad/CMakeLists.txt (limited to '3rd-party') diff --git a/3rd-party/SingleApplication/CMakeLists.txt b/3rd-party/SingleApplication/CMakeLists.txt deleted file mode 100644 index 97fe7d7..0000000 --- a/3rd-party/SingleApplication/CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ -# Find includes in corresponding build directories -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -# Instruct CMake to run moc automatically when needed. -set(CMAKE_AUTOMOC ON) -#set(CMAKE_AUTOUIC ON) -#set(CMAKE_AUTORCC ON) - -add_library(SingleApplication - SingleApplication.git/singleapplication.cpp - SingleApplication.git/singleapplication.h - SingleApplication.git/singleapplication_p.cpp - SingleApplication.git/singleapplication_p.h -) - -target_include_directories(SingleApplication PUBLIC SingleApplication.git) - -target_link_libraries(SingleApplication - Qt5::Core Qt5::Network Qt5::Widgets -) - -target_compile_definitions(SingleApplication - PRIVATE QAPPLICATION_CLASS=QApplication -) - -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - target_link_libraries(SingleApplication - Advapi32 - ) -endif() diff --git a/3rd-party/breakpad/CMakeLists.txt b/3rd-party/breakpad/CMakeLists.txt deleted file mode 100644 index 56e30dc..0000000 --- a/3rd-party/breakpad/CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - - find_package(PkgConfig REQUIRED) - - # if you do not have breakpad installed, use the build.sh script and uncomment this -# if (NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/install") -# message(FATAL_ERROR "Could not find breakpad build, see 3rd-party/breakpad/build.sh") -# endif () -# set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_CURRENT_LIST_DIR}/install/lib/pkgconfig" ) - - pkg_check_modules(BREAKPAD REQUIRED IMPORTED_TARGET breakpad-client) - -endif() # linux system \ No newline at end of file -- cgit v1.2.1