Re: cmake-4 branch on Cygwin

patrick <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <CAEx2pdfjv4V0Q8919+e5B4Lh1COVdq2Dt-CWZ_VpDtrAqMrCzw@mail.gmail.com>
Hi Felix, Al,

thanks, yes, I could fix it by seeing the linker flag syntax in this
stackoverflow post:

https://stackoverflow.com/questions/16154130/cygwin-g-linker-doesnt-find-shared-library

Adding this in apps/CMakeLists.txt:

L85:
elseif(MINGW)
  message(STATUS "Add linker flags for libgnucap")
  set(CMAKE_MODULE_LINKER_FLAGS "-L${CMAKE_CURRENT_BINARY_DIR}/../lib
-l:libgnucap.dll")
endif()


I can make a pull request on the file apps/CMakeLists.txt if you give
me access, also I can add

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.