mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-11-04 10:49:11 +01:00 
			
		
		
		
	Removed install target from included libcorrect
This commit is contained in:
		@@ -85,9 +85,9 @@ add_subdirectory(tests)
 | 
			
		||||
add_subdirectory(tools)
 | 
			
		||||
# add_subdirectory(benchmarks)
 | 
			
		||||
 | 
			
		||||
install(TARGETS correct correct_static
 | 
			
		||||
        DESTINATION lib)
 | 
			
		||||
install(FILES ${INSTALL_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
 | 
			
		||||
# install(TARGETS correct correct_static
 | 
			
		||||
#         DESTINATION lib)
 | 
			
		||||
# install(FILES ${INSTALL_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include")
 | 
			
		||||
 | 
			
		||||
add_library(fec_shim_static EXCLUDE_FROM_ALL src/fec_shim.c ${correct_obj_files})
 | 
			
		||||
set_target_properties(fec_shim_static PROPERTIES OUTPUT_NAME "fec")
 | 
			
		||||
@@ -96,7 +96,7 @@ set_target_properties(fec_shim_shared PROPERTIES OUTPUT_NAME "fec")
 | 
			
		||||
add_custom_target(fec-shim-h COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/include/fec_shim.h ${PROJECT_BINARY_DIR}/include/fec.h)
 | 
			
		||||
add_custom_target(shim DEPENDS fec_shim_static fec_shim_shared fec-shim-h)
 | 
			
		||||
 | 
			
		||||
install(TARGETS fec_shim_static fec_shim_shared
 | 
			
		||||
        DESTINATION lib
 | 
			
		||||
        OPTIONAL)
 | 
			
		||||
install(FILES ${PROJECT_BINARY_DIR}/include/fec.h DESTINATION "${CMAKE_INSTALL_PREFIX}/include" OPTIONAL)
 | 
			
		||||
# install(TARGETS fec_shim_static fec_shim_shared
 | 
			
		||||
#         DESTINATION lib
 | 
			
		||||
#         OPTIONAL)
 | 
			
		||||
# install(FILES ${PROJECT_BINARY_DIR}/include/fec.h DESTINATION "${CMAKE_INSTALL_PREFIX}/include" OPTIONAL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user