From 1709899373547ca0faf4c679f64d843accb9733c Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Fri, 7 Jul 2017 20:16:37 -0700 Subject: [PATCH] fix some stuff [ci skip] --- arrow/xlntpyarrow/CMakeLists.txt | 5 +++-- arrow/xlntpyarrow/setup.py.cmake | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arrow/xlntpyarrow/CMakeLists.txt b/arrow/xlntpyarrow/CMakeLists.txt index efaddd41..06ad8568 100644 --- a/arrow/xlntpyarrow/CMakeLists.txt +++ b/arrow/xlntpyarrow/CMakeLists.txt @@ -8,5 +8,6 @@ endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py.cmake" "${CMAKE_CURRENT_BINARY_DIR}/setup.py") -add_custom_target(xlntpyarrow - COMMAND python setup.py build) +add_custom_target(xlntpyarrow ALL + COMMAND python setup.py build + DEPENDS xlntarrow) diff --git a/arrow/xlntpyarrow/setup.py.cmake b/arrow/xlntpyarrow/setup.py.cmake index 811ede7f..aba74c6c 100644 --- a/arrow/xlntpyarrow/setup.py.cmake +++ b/arrow/xlntpyarrow/setup.py.cmake @@ -32,7 +32,7 @@ library_dirs = [ os.path.join(conda_root, '../lib') ] -compile_args = '${CMAKE_CXX_FLAGS}'.split() or [] +compile_args = '${CMAKE_CXX_FLAGS}'.split() xlntpyarrow_extension = Extension( 'xlntpyarrow',