> On Oct 5, 2016, at 9:29 AM, Daniel Roßberg <danielmrossb...@gmail.com> wrote:
> 
> 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.

Thanks Daniel!

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

Cheers!
Sean


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to