mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	getopt: Fix compilation settings
INTERFACE doesn't define the symbol when compiling the library itself. PUBLIC should be used when the definition is needed both by the library and by the users.
This commit is contained in:
		
							parent
							
								
									1fc0347d27
								
							
						
					
					
						commit
						1bf030f4af
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								externals/getopt/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								externals/getopt/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -7,5 +7,5 @@ set(HEADERS | |||
| 
 | ||||
| create_directory_groups(${SRCS} ${HEADERS}) | ||||
| add_library(getopt ${SRCS} ${HEADERS}) | ||||
| target_compile_definitions(getopt INTERFACE STATIC_GETOPT) | ||||
| target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) | ||||
| target_compile_definitions(getopt PUBLIC STATIC_GETOPT) | ||||
| target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue