Update CMakeLists.txt

This commit is contained in:
Gabi Melman 2020-04-10 16:39:59 +03:00 committed by GitHub
parent 6440733002
commit 1f7f1c1ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,7 @@ if(SPDLOG_BUILD_EXAMPLE OR SPDLOG_BUILD_EXAMPLE_HO)
add_subdirectory(example)
spdlog_enable_warnings(example)
if(SPDLOG_BUILD_EXAMPLE_HO)
SPDLOG_BUILD_WARNINGS(example_header_only)
spdlog_enable_warnings(example_header_only)
endif()
endif()