mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01: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 |   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 | # "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 | # export set.  see too https://gitlab.kitware.com/cmake/cmake/-/issues/15415 | ||||||
| set(FMT_VERSION 7.1.3) | set(FMT_VERSION 7.1.3) | ||||||
|  | @ -59,7 +59,7 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/ | ||||||
| # ---- Create library ---- | # ---- Create library ---- | ||||||
| 
 | 
 | ||||||
| # Note: for header-only libraries change all PUBLIC flags to INTERFACE and create an interface | # Note: for header-only libraries change all PUBLIC flags to INTERFACE and create an interface | ||||||
| # target: | # target: add_library(Greeter INTERFACE) | ||||||
| add_library(Greeter) | add_library(Greeter) | ||||||
| target_compile_features(Greeter PUBLIC cxx_std_17) | target_compile_features(Greeter PUBLIC cxx_std_17) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue