diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa365c..b2b1d56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)