fix dynamic link issue
This commit is contained in:
		| @@ -264,7 +264,7 @@ function(use_townengine target sources output_directory) | ||||
|                 # launcher binary, loads game and engine shared library | ||||
|                 add_executable(${target} ${TWN_ROOT_DIR}/src/twn_main.c) | ||||
|  | ||||
|                 target_compile_options(${target} PRIVATE $<$<BOOL:${LINUX}>:-Wl,-rpath,$ORIGIN/>) | ||||
|                 target_link_options(${target} PRIVATE $<$<BOOL:${LINUX}>:-Wl,-rpath,$ORIGIN/>) | ||||
|  | ||||
|                 # todo: copy instead? | ||||
|                 # put libtownengine.so alongside the binary | ||||
|   | ||||
		Reference in New Issue
	
	Block a user