add RPATH for compiled tools to find the libddsc.so (#153)
* add RPATH for compiled tools to find the libddsc.so Signed-off-by: YuSheng <hello@cwyark.me>
This commit is contained in:
		
							parent
							
								
									b686ba858c
								
							
						
					
					
						commit
						ca35c7afb2
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -11,6 +11,7 @@
 | 
			
		|||
#
 | 
			
		||||
add_executable(pubsub pubsub.c common.c testtype.c porting.c)
 | 
			
		||||
target_link_libraries(pubsub ddsc)
 | 
			
		||||
 | 
			
		||||
if(WIN32)
 | 
			
		||||
  target_compile_definitions(pubsub PRIVATE _CRT_SECURE_NO_WARNINGS)
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue