Discussion:
[brlcad-devel] Issue with new add_test()
Daniel Roßberg
2016-10-05 13:29:07 UTC
Permalink
Hi,

The new add_test CMake function breaks my BRL-CAD build. During
configuration I get the following error:
CMake Error at CMakeLists.txt:558 (if):
if given arguments:

"COMMAND" "STREQUAL" ""

Unknown arguments specified
Call Stack (most recent call first):
src/libbu/tests/CMakeLists.txt:16 (add_test)

Clearing the CMake cache, i.e. starting a new configuration, hasn't
helped. I use Debian jessie with CMake version 3.0.2.

Changing line 558 in the main CMakeLists.txt to
if ("${ARG}x" STREQUAL "x")
makes at least the CMake configuration happy.


Regards,
Daniel
Christopher Sean Morrison
2016-10-07 22:31:29 UTC
Permalink
Post by Daniel Roßberg
Hi,
The new add_test CMake function breaks my BRL-CAD build. During
"COMMAND" "STREQUAL" ""
Unknown arguments specified
src/libbu/tests/CMakeLists.txt:16 (add_test)
Clearing the CMake cache, i.e. starting a new configuration, hasn't
helped. I use Debian jessie with CMake version 3.0.2.
Changing line 558 in the main CMakeLists.txt to
if ("${ARG}x" STREQUAL "x")
makes at least the CMake configuration happy.
Thanks Daniel!

I applied this patch yesterday. Apparently it’s something they fixed in later versions.

Cheers!
Sean

Loading...