[CMake] Fix AppleClang compilation
name: Hotfix
about: Quick bugfix with very localized and low impact changes.
Description
Closes #10 (closed). The error was quite stupid, not related with XCode (is not necessary to download!), the problem was that the macros that set the C++ flags were after the doctest library was compiled...ups
Changelog
- Move CXX_FLAGS before importing/compiling libraries