mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	FIXME: the packageProject() makes the problem
so the standalone project does not build! and the cmake project config files can't be installed this way?
This commit is contained in:
		
							parent
							
								
									5f9aa807b9
								
							
						
					
					
						commit
						e5c060387e
					
				
					 3 changed files with 18 additions and 13 deletions
				
			
		|  | @ -39,7 +39,7 @@ CPMAddPackage( | |||
| 
 | ||||
| file(GLOB sources CONFIGURE_DEPENDS source/*.cpp) | ||||
| add_executable(GreeterTests ${sources}) | ||||
| target_link_libraries(GreeterTests doctest::doctest Greeter::Greeter) | ||||
| target_link_libraries(GreeterTests PRIVATE doctest::doctest Greeter::Greeter) | ||||
| target_compile_features(GreeterTests PUBLIC cxx_std_17) | ||||
| 
 | ||||
| # enable compiler warnings | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue