CMakeLists.txt minor improvments
This commit is contained in:
		@@ -4,6 +4,8 @@
 | 
			
		||||
cmake_minimum_required(VERSION 3.1)
 | 
			
		||||
project(spdlog_bench CXX)
 | 
			
		||||
 | 
			
		||||
message(STATUS "Generating benchmarks..")
 | 
			
		||||
 | 
			
		||||
if(NOT TARGET spdlog)
 | 
			
		||||
  # Stand-alone build
 | 
			
		||||
  find_package(spdlog CONFIG REQUIRED)
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,8 @@
 | 
			
		||||
cmake_minimum_required(VERSION 3.1)
 | 
			
		||||
project(spdlog_examples CXX)
 | 
			
		||||
 | 
			
		||||
message(STATUS "Generating examples..")
 | 
			
		||||
 | 
			
		||||
if(NOT TARGET spdlog)
 | 
			
		||||
    # Stand-alone build
 | 
			
		||||
    find_package(spdlog REQUIRED)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
message(STATUS "Generating tests..")
 | 
			
		||||
 | 
			
		||||
set(SPDLOG_UTESTS_SOURCES
 | 
			
		||||
    test_errors.cpp
 | 
			
		||||
    test_file_helper.cpp
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user