fix CMakeLists for Mac Os
CMake fix for Mac Os X.
You can open project with CLion and see that everything works.
Merge pull request #1 from iSevenDays/v3_sevendays

CMake fix for Mac Os X
CMake settings for Mac Os X
Also works with CLion
Merge pull request #8700 from iSevenDays/v3

CMake fix for Mac Os X