[CMake] Problems with FindOracle

Nils Gladitz nilsgladitz at gmail.com
Fri Nov 14 04:15:21 EST 2014


On 11/14/2014 10:05 AM, Petr Bena wrote:
> Hi,
>
> I run cmake on windows for a project that needs oracle libraries, and
> I get this error:
>
> CMake Error at cmake/modules/FindOracle.cmake:92 (IF):
> if given arguments:
>
> "GREATER" "120"
>
> Unknown arguments specified
> Call Stack (most recent call first):
> CMakeLists.txt:219 (FIND_PACKAGE)
>
>
> This looks to me like internal bug in CMake as the problem is in
> FindOracle.cmake rather than CMakeLists.txt
>

CMake does not ship a FindOracle.cmake[1].
It is probably part of the project that you are trying to build.

The error could imply something like:
	if(${FOO} GREATER 120)
Where FOO is not set and expands empty.

Nils

[1] 
http://www.cmake.org/gitweb?p=cmake.git;a=tree;f=Modules;h=b481616aef95de0570cb421cd3e46023adddf52b;hb=HEAD



More information about the CMake mailing list