mirror of
				https://github.com/kunkundi/crossdesk.git
				synced 2025-10-27 04:35:34 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| package("libjuice")
 | |
|     add_deps("cmake")
 | |
|     set_sourcedir(path.join(os.scriptdir(), ""))
 | |
|     on_install(function (package)
 | |
|         local configs = {}
 | |
|         table.insert(configs, "-DNO_EXPORT_HEADER=ON -DNO_TESTS=ON")
 | |
|         import("package.tools.cmake").install(package, configs)
 | |
|     end)
 | |
|     -- on_test(function (package)
 | |
|     --     assert(package:has_cfuncs("juice_create", {includes = "juice/juice.h"}))
 | |
|     -- end)
 | |
| package_end() |