giacomo-b / CppRobotics

Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake Error

kvkpraneeth opened this issue · comments

On building with cmake with version 3.16.3, build process crashes with this output:

CMake Error at CMakeLists.txt:56 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "CXX_STANDARD" is not allowed.


-- Configuring incomplete, errors occurred!

Line 56, where the fault points to

Thank you for pointing this out. Indeed, that line is not needed given that the library is now being used as INTERFACE since it is header-only. Fixing it now.