forked from dolphin-emu/dolphin
		
	Instead, operate on the target directly. This removes the last usages of the SRCS and LIBS variables.
		
			
				
	
	
		
			21 lines
		
	
	
		
			399 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			399 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
if(NOT(USE_X11 OR ENABLE_HEADLESS))
 | 
						|
  return()
 | 
						|
endif()
 | 
						|
 | 
						|
add_executable(dolphin-nogui
 | 
						|
  MainNoGUI.cpp
 | 
						|
)
 | 
						|
 | 
						|
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
 | 
						|
 | 
						|
target_link_libraries(dolphin-nogui
 | 
						|
PRIVATE
 | 
						|
  core
 | 
						|
  uicommon
 | 
						|
  cpp-optparse
 | 
						|
)
 | 
						|
 | 
						|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui)
 | 
						|
install(TARGETS dolphin-nogui RUNTIME DESTINATION ${bindir})
 | 
						|
 |