mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	fix: Fix package issues (#2469)
This commit is contained in:
		@@ -11,7 +11,7 @@ option(integration_tests "Build integration tests" FALSE)
 | 
			
		||||
option(benchmark "Build benchmarks" FALSE)
 | 
			
		||||
option(docs "Generate doxygen docs" FALSE)
 | 
			
		||||
option(coverage "Build test coverage report" FALSE)
 | 
			
		||||
option(packaging "Create distribution packages" FALSE)
 | 
			
		||||
option(package "Create distribution packages" FALSE)
 | 
			
		||||
option(lint "Run clang-tidy checks during compilation" FALSE)
 | 
			
		||||
option(static "Statically linked Clio" FALSE)
 | 
			
		||||
option(snapshot "Build snapshot tool" FALSE)
 | 
			
		||||
@@ -40,11 +40,6 @@ if (verbose)
 | 
			
		||||
  set(CMAKE_VERBOSE_MAKEFILE TRUE)
 | 
			
		||||
endif ()
 | 
			
		||||
 | 
			
		||||
if (packaging)
 | 
			
		||||
  add_definitions(-DPKG=1)
 | 
			
		||||
  target_compile_definitions(clio_options INTERFACE PKG=1)
 | 
			
		||||
endif ()
 | 
			
		||||
 | 
			
		||||
# Clio tweaks and checks
 | 
			
		||||
include(CheckCompiler)
 | 
			
		||||
include(Settings)
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@ set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
 | 
			
		||||
 | 
			
		||||
include(GNUInstallDirs)
 | 
			
		||||
 | 
			
		||||
install(TARGETS clio_server DESTINATION ${CMAKE_INSTALL_BINDIR})
 | 
			
		||||
install(TARGETS clio_server DESTINATION "${CMAKE_INSTALL_BINDIR}")
 | 
			
		||||
 | 
			
		||||
file(READ docs/examples/config/example-config.json config)
 | 
			
		||||
string(REGEX REPLACE "./clio_log" "/var/log/clio/" config "${config}")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user