0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Updated Cmake file to remove ascii doc.

This commit is contained in:
Telford Berkey 2014-12-09 10:33:15 -05:00
parent 187c743841
commit 5b1b3b56d3

View File

@ -266,9 +266,14 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
add_definitions(-D_DARWIN_C_SOURCE)
endif()
set(CMAKE_PYTHON_VERSION 2.7 2.6 2.5 2.4)
find_package(PythonInterp)
find_package(AsciiDoc)
if(NOT WITHOUT_ASCIIDOC)
set(CMAKE_PYTHON_VERSION 2.7 2.6 2.5 2.4)
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
"PYTHON_FOUND;ASCIIDOC_FOUND" OFF)
@ -336,9 +341,6 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib)
#-----------------------------------------------------------------------------
# platform specifics