Unknown CMake command "library_hook".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cuneiform for Linux |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello!
I run CMake in order to build this on Windows:
https:/
I get the following printout:
"Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find ImageMagick (missing: ImageMagick_FOUND)
ImageMagick++ not found. Only uncompressed BMP images supported.
Adding __snp.c to individual libraries.
CMake Error at Kern/ccom/
Unknown CMake command "library_hook".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_
cmake_minimum_
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring incomplete, errors occurred!"
Can anyone tell me how I should solve this error?
Thanks!
-- Kind Regards, Anders Branderud
Changed in cuneiform-linux: | |
status: | New → Invalid |
Where did you get your sources? You checkout may be broken since the very second line of CMakeLists.txt is this:
cmake_minimum_ required( VERSION 2.6.2)
which your log indicates is missing.