• David P. Sicilia's avatar
    CMake: include(CTest) only when building tests. · 85b4d7c8
    David P. Sicilia authored
    This is needed in order to support usage of this library as a
    subdirectory in a parent project.  In that situation, prior
    to this change, the inclusion of CTest would unconditionally
    enable BUILD_TESTING which would then bleed into other parts
    of the project.
    
    Also added some comments explaining how this logic works.
    85b4d7c8
Name
Last commit
Last update
bench Loading commit data...
cmake Loading commit data...
example Loading commit data...
include/spdlog Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
appveyor.yml Loading commit data...
clang_tidy.sh Loading commit data...
format.sh Loading commit data...