mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
remove deleted xlntarrow dependency from xlntpyarrow target and don't compile xlntarrow when ARROW=OFF
This commit is contained in:
parent
5c033905fb
commit
e6b0545c26
|
@ -63,6 +63,10 @@ file(GLOB WORKBOOK_SOURCES ${XLNT_SOURCE_DIR}/workbook/*.cpp)
|
|||
file(GLOB WORKSHEET_HEADERS ${XLNT_INCLUDE_DIR}/xlnt/worksheet/*.hpp)
|
||||
file(GLOB WORKSHEET_SOURCES ${XLNT_SOURCE_DIR}/worksheet/*.cpp)
|
||||
|
||||
if(NOT ARROW)
|
||||
list(REMOVE_ITEM UTILS_SOURCES ${XLNT_SOURCE_DIR}/utils/xlntarrow.cpp)
|
||||
endif()
|
||||
|
||||
file(GLOB DETAIL_ROOT_HEADERS ${XLNT_SOURCE_DIR}/detail/*.hpp)
|
||||
file(GLOB DETAIL_ROOT_SOURCES ${XLNT_SOURCE_DIR}/detail/*.cpp)
|
||||
file(GLOB DETAIL_CRYPTOGRAPHY_HEADERS ${XLNT_SOURCE_DIR}/detail/cryptography/*.hpp)
|
||||
|
|
|
@ -10,5 +10,4 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py.cmake"
|
|||
|
||||
add_custom_target(xlntpyarrow ALL
|
||||
COMMAND python setup.py build
|
||||
DEPENDS xlntarrow
|
||||
SOURCES xlntpyarrow.cpp setup.py.cmake)
|
||||
SOURCES xlntpyarrow.cpp setup.py.cmake)
|
||||
|
|
Loading…
Reference in New Issue
Block a user