Merge pull request #124 from nyue/master

Fix referencing of python directory for source of custom command
This commit is contained in:
Philip Rideout 2013-02-16 17:17:34 -08:00
commit 1402f670f1

View File

@ -381,7 +381,7 @@ if(PYTHONINTERP_FOUND AND SWIG_FOUND)
add_custom_command(
OUTPUT ${PROJECT_BINARY_DIR}/python/osd
COMMAND ${PYCMD}
WORKING_DIRECTORY ../python
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/python
DEPENDS osd_static_cpu osd_dynamic_cpu
COMMENT "Building Python bindings with distutils"
)