Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-12-14 19:54:31 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-01-13 15:58:17 +0300
commit3ae327ea8ea31da46995da01c6b623c14248dc65 (patch)
tree1d6ed12187c29bb42e794f1839c8dabcd263f240 /CMakeLists.txt
parent1c721e9422069744dcc3447219487bf2695a81b6 (diff)
Modernize out CMakeLists.txt
Mainly uses target_include_directories instead of include_directories so libraries public include directory get automatically added when adding the target in target_link_library
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 132d93b1c..0f4abfd3c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.1)
project(client)
@@ -183,15 +183,6 @@ if(BUILD_CLIENT)
find_package(Sphinx)
find_package(PdfLatex)
- find_package(SQLite3 3.8.0 REQUIRED)
- # On some OS, we want to use our own, not the system sqlite
- if (USE_OUR_OWN_SQLITE3)
- include_directories(BEFORE ${SQLITE3_INCLUDE_DIR})
- if (WIN32)
- add_definitions(-DSQLITE_API=__declspec\(dllimport\))
- endif()
- endif()
-
find_package(ZLIB REQUIRED)
endif()