mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08:00
Updated Cmake file to remove ascii doc.
This commit is contained in:
parent
187c743841
commit
5b1b3b56d3
@ -266,9 +266,14 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|||||||
add_definitions(-D_DARWIN_C_SOURCE)
|
add_definitions(-D_DARWIN_C_SOURCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_PYTHON_VERSION 2.7 2.6 2.5 2.4)
|
if(NOT WITHOUT_ASCIIDOC)
|
||||||
find_package(PythonInterp)
|
set(CMAKE_PYTHON_VERSION 2.7 2.6 2.5 2.4)
|
||||||
find_package(AsciiDoc)
|
find_package(PythonInterp)
|
||||||
|
find_package(AsciiDoc)
|
||||||
|
else()
|
||||||
|
set(PYTHON_FOUND OFF)
|
||||||
|
set(ASCIIDOC_FOUND OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
cmake_dependent_option(WITH_DOC "Build Reference Guide documentation(requires DocBook)" ON
|
cmake_dependent_option(WITH_DOC "Build Reference Guide documentation(requires DocBook)" ON
|
||||||
"PYTHON_FOUND;ASCIIDOC_FOUND" OFF)
|
"PYTHON_FOUND;ASCIIDOC_FOUND" OFF)
|
||||||
@ -336,9 +341,6 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||||||
FORCE)
|
FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
|
||||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# platform specifics
|
# platform specifics
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user