mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
We use static library if we find - option was not being used.
Currently we search for a static library and if we don't find it, we search for a shared library. If one of them is found, we return success but if none of them is found, error. So - A static library for libgit and libdivecomputer is preferred over the shared one. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3a06bb37d4
commit
a56c0f227d
1 changed files with 0 additions and 2 deletions
|
@ -8,8 +8,6 @@ cmake_minimum_required(VERSION 2.8.11)
|
|||
SET(CMAKE_AUTOMOC ON)
|
||||
SET(CMAKE_AUTOUIC ON)
|
||||
OPTION(PREFER_GIT_FROMSOURCE "Turn off if you wanna use system's libgit 0.21.5" ON)
|
||||
OPTION(PREFER_GIT_STATIC "Turn off if you wanna use a shared library" ON)
|
||||
OPTION(PREFER_LIBDC_STATIC "Turn off if you wanna use a shared library" ON)
|
||||
|
||||
SET(CMAKE_MODULE_PATH ${${PROJECT_NAME}_SOURCE_DIR}/cmake/Modules)
|
||||
INCLUDE_DIRECTORIES( . ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} qt-ui qt-ui/profile)
|
||||
|
|
Loading…
Reference in a new issue