mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	CMake: Create INTERFACE targets for microprofile and nihstro
This commit is contained in:
		@@ -92,7 +92,7 @@ else()
 | 
			
		||||
    add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
 | 
			
		||||
endif()
 | 
			
		||||
target_link_libraries(citra-qt PRIVATE audio_core common core input_common video_core)
 | 
			
		||||
target_link_libraries(citra-qt PRIVATE Boost::boost glad Qt5::OpenGL Qt5::Widgets)
 | 
			
		||||
target_link_libraries(citra-qt PRIVATE Boost::boost glad nihstro-headers Qt5::OpenGL Qt5::Widgets)
 | 
			
		||||
target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
 | 
			
		||||
 | 
			
		||||
if(UNIX AND NOT APPLE)
 | 
			
		||||
 
 | 
			
		||||
@@ -95,7 +95,7 @@ endif()
 | 
			
		||||
create_directory_groups(${SRCS} ${HEADERS})
 | 
			
		||||
 | 
			
		||||
add_library(common STATIC ${SRCS} ${HEADERS})
 | 
			
		||||
target_link_libraries(common PUBLIC Boost::boost)
 | 
			
		||||
target_link_libraries(common PUBLIC Boost::boost microprofile)
 | 
			
		||||
if (ARCHITECTURE_x86_64)
 | 
			
		||||
    target_link_libraries(common PRIVATE xbyak)
 | 
			
		||||
endif()
 | 
			
		||||
 
 | 
			
		||||
@@ -80,7 +80,7 @@ create_directory_groups(${SRCS} ${HEADERS})
 | 
			
		||||
 | 
			
		||||
add_library(video_core STATIC ${SRCS} ${HEADERS})
 | 
			
		||||
target_link_libraries(video_core PUBLIC common core)
 | 
			
		||||
target_link_libraries(video_core PRIVATE glad)
 | 
			
		||||
target_link_libraries(video_core PRIVATE glad nihstro-headers)
 | 
			
		||||
 | 
			
		||||
if (ARCHITECTURE_x86_64)
 | 
			
		||||
    target_link_libraries(video_core PRIVATE xbyak)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user