Hello everyone,
currently I am struggling with .so files. I have a file called folder/myLib.so and need to link it in the CMakeList.txt.
Does anyone know how to do this? I am pretty new to this.
Regards s0n1c
Hello everyone,
currently I am struggling with .so files. I have a file called folder/myLib.so and need to link it in the CMakeList.txt.
Does anyone know how to do this? I am pretty new to this.
Regards s0n1c
target_link_libraries(mytgt PRIVATE path/to/folder/myLib.so)
Instead of PRIVATE
, you can use PUBLIC
if it makes sense.