mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 08:58:13 +01:00 
			
		
		
		
	Added workaround for pkgconfig not adding the right directories for libairspy
This commit is contained in:
		| @@ -30,6 +30,12 @@ else (MSVC) | ||||
|     target_include_directories(airspy_source PUBLIC ${LIBAIRSPY_INCLUDE_DIRS}) | ||||
|     target_link_directories(airspy_source PUBLIC ${LIBAIRSPY_LIBRARY_DIRS}) | ||||
|     target_link_libraries(airspy_source PUBLIC ${LIBAIRSPY_LIBRARIES}) | ||||
|  | ||||
|     # Include it because for some reason pkgconfig doesn't look here? | ||||
|     if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
|         target_include_directories(airspy_source PUBLIC "/usr/local/include") | ||||
|     endif() | ||||
|  | ||||
| endif () | ||||
|  | ||||
| # Install directives | ||||
|   | ||||
		Reference in New Issue
	
	Block a user