We have to add the following line in the CMakeLists.txt file to compile the library:
include_directories(include) add_library(polygon_plugins src/polygon_plugins.cpp)