thewtex / cython-cmake-example

Utilities and example for using CMake to build Cython modules - migrated to scikit-build
https://scikit-build.org/
Apache License 2.0
160 stars 41 forks source link

I cannot get this to work. #5

Closed e000 closed 12 years ago

e000 commented 12 years ago

When trying to "make" I receive error

CMake Error at cmake/ReplicatePythonSourceTree.cmake:3 (file): file COPY given no DESTINATION

make[2]: * [CMakeFiles/ReplicatePythonSourceTree] Error 1 make[1]: * [CMakeFiles/ReplicatePythonSourceTree.dir/all] Error 2 make: *\ [all] Error 2

thewtex commented 12 years ago

What version of CMake do you have? (cmake --version)

e000 commented 12 years ago

cmake version 2.8.0

Linux 2.6.32-41-generic-pae #91-Ubuntu SMP Wed Jun 13 12:00:09 UTC 2012 i686 GNU/Linux

thewtex commented 12 years ago

OK, thanks. CMake 2.8.5 or later is required as indicated here:

http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix/Variables#Variables_that_Provide_Information

I have added a check that will notify the user if the version is insufficient.