1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

fix missed comment

This commit is contained in:
ClausKlein 2021-02-10 23:06:28 +01:00
parent 0f191d72ed
commit 4f309d5b79

View file

@ -38,7 +38,7 @@ CPMAddPackage(
VERSION 1.4.1
)
# NOTE: If fmt is not imported, this is needed to prevent: CMake Error: install(EXPORT
# Note: If fmt is not imported, this is needed to prevent: CMake Error: install(EXPORT
# "GreeterTargets" ...) includes target "Greeter" which requires target "fmt" that is not in any
# export set. see too https://gitlab.kitware.com/cmake/cmake/-/issues/15415
set(FMT_VERSION 7.1.3)
@ -59,7 +59,7 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/
# ---- Create library ----
# Note: for header-only libraries change all PUBLIC flags to INTERFACE and create an interface
# target:
# target: add_library(Greeter INTERFACE)
add_library(Greeter)
target_compile_features(Greeter PUBLIC cxx_std_17)