Cmake on Windows doesn't add shared library paths (works on linux)

后端 未结 3 648
[愿得一人]
[愿得一人] 2021-01-12 08:52

I\'ve been using CMake and Eclipse on linux for a while and have been working with multiple target projects containing numerous executables and shared objects.

I use

3条回答
  •  渐次进展
    2021-01-12 09:23

    Just a possible answer to my own question. I think that on linux the rpath is being used to identify the locations of the dependent libraries but on windows with mingw I cannot use the elf parser and so cannot use rpath.

提交回复
热议问题