commit | 7f47792bf288c3dca049d04de06d57d2f060abba | [log] [tgz] |
---|---|---|
author | Marco Molteni <marco.molteni@laposte.net> | Wed Apr 15 20:46:48 2015 +0200 |
committer | Roger Meier <roger@apache.org> | Wed Apr 15 22:04:49 2015 +0200 |
tree | 78308529c1b194d87600c2eaf6c30d8b8442f80c | |
parent | a242c28ba16012ba480c5fbac88bedceaf3aed57 [diff] [blame] |
THRIFT-3097 cmake targets unconditionally depend on optional libraries
diff --git a/lib/py/CMakeLists.txt b/lib/py/CMakeLists.txt index e92658d..ef987b6 100755 --- a/lib/py/CMakeLists.txt +++ b/lib/py/CMakeLists.txt
@@ -17,6 +17,8 @@ # under the License. # +include_directories(${PYTHON_INCLUDE_DIRS}) + add_custom_target(python_build ALL COMMAND ${PYTHON_EXECUTABLE} setup.py build WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}