Permalink
Browse files

Fix building on Windows.

Cython generate source file needs the full path.
  • Loading branch information...
1 parent 1a80653 commit e0226bf766e0fdd0d10b661647c0f38eed4bd8d0 @thewtex committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/UseCython.cmake
View
@@ -203,7 +203,7 @@ function( compile_pyx _name generated_file )
endforeach()
# Determining generated file name.
- set( _generated_file "${_name}.${extension}" )
+ set( _generated_file "${CMAKE_CURRENT_BINARY_DIR}/${_name}.${extension}" )
set_source_files_properties( ${_generated_file} PROPERTIES GENERATED TRUE )
set( ${generated_file} ${_generated_file} PARENT_SCOPE )

0 comments on commit e0226bf

Please sign in to comment.