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:
parent
0f191d72ed
commit
4f309d5b79
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue