fix cmake
@Doyeux: here is an implementation if your request
I have added a test in testsuite/feelcore
this closes issue #78