mirror of https://github.com/stenzek/duckstation
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			443 B
		
	
	
	
		
			CMake
		
	
			
		
		
	
	
			14 lines
		
	
	
		
			443 B
		
	
	
	
		
			CMake
		
	
set(SRCS
 | 
						|
  include/stb_image.h
 | 
						|
  include/stb_image_resize.h
 | 
						|
  include/stb_image_write.h
 | 
						|
  src/stb_image.c
 | 
						|
  src/stb_image_resize.c
 | 
						|
  src/stb_image_write.c
 | 
						|
)
 | 
						|
 | 
						|
add_library(stb ${SRCS})
 | 
						|
target_include_directories(stb PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/src")
 | 
						|
target_include_directories(stb INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
 | 
						|
target_link_libraries(stb zlib Threads::Threads "${CMAKE_DL_LIBS}")
 |