gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmake-4 branch on Cygwin


From: patrick
Subject: Re: cmake-4 branch on Cygwin
Date: Mon, 3 Aug 2020 09:56:06 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]