projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
cpack: artifacts
[awesomized/libmemcached]
/
CMakeConfig.txt
diff --git
a/CMakeConfig.txt
b/CMakeConfig.txt
index 50a2be47b0f0751f3cf17a812a3fadc94ae6d1c8..e4fee7a67d991761b8546b29a691a00c3b6a9853 100644
(file)
--- a/
CMakeConfig.txt
+++ b/
CMakeConfig.txt
@@
-1,4
+1,3
@@
-
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
if(NOT DEFINED ENV{CMAKE_BUILD_TYPE})
set(ENV{CMAKE_BUILD_TYPE} Release)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
if(NOT DEFINED ENV{CMAKE_BUILD_TYPE})
set(ENV{CMAKE_BUILD_TYPE} Release)
@@
-18,6
+17,12
@@
elseif(UNIX)
CACHE STRING "set relative rpath")
endif()
CACHE STRING "set relative rpath")
endif()
+if(${CMAKE_VERSION} VERSION_LESS "3.12")
+ set(TARGET_NAMELINK_COMPONENT "")
+else()
+ set(TARGET_NAMELINK_COMPONENT NAMELINK_COMPONENT dev)
+endif()
+
option(BUILD_TESTING "whether to enable build of the test suite"
$ENV{BUILD_TESTING})
option(BUILD_DOCSONLY "build *only* documentation"
option(BUILD_TESTING "whether to enable build of the test suite"
$ENV{BUILD_TESTING})
option(BUILD_DOCSONLY "build *only* documentation"
@@
-68,6
+73,12
@@
if(BUILD_TESTING)
endif()
endif()
endif()
endif()
+if(BUILD_DOCS_MANGZ)
+ set(BUILD_DOCS_MAN ON)
+endif()
+if(BUILD_DOCS_MAN OR BUILD_DOCS_HTML)
+ set(BUILD_DOCS ON)
+endif()
if(BUILD_DOCS)
set(SPHINX_OPTIONS ""
CACHE STRING "additional sphinx-build command line options")
if(BUILD_DOCS)
set(SPHINX_OPTIONS ""
CACHE STRING "additional sphinx-build command line options")
@@
-80,16
+91,3
@@
if(BUILD_DOCS)
set(SPHINX_CONF_APPEND ""
CACHE STRING "append verbatim code to sphinx' conf.py")
endif()
set(SPHINX_CONF_APPEND ""
CACHE STRING "append verbatim code to sphinx' conf.py")
endif()
-
-# legacy
-
-set(HAVE_VISIBILITY 1)
-set(HAVE_SHARED_ENABLED 1)
-
-# modules
-
-list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake")
-
-if(NOT BUILD_DOCSONLY)
- include(CMake/_Include.cmake)
-endif()