#2 FindACE.cmake for MINGW

closed-accepted
nobody
None
5
2007-03-09
2007-02-11
No

When compiling yarp with MINGW, linkage to winmm.lib and wsock32.lib is required. This is not automatic in current CMAKE scripts. The submitted patch corrects this problem by adding the following lines to FindAce.cmake in yarp/conf:

IF (MINGW)
MESSAGE(STATUS "need to link windows-specific libraries")
#LINK_LIBRARIES(winmm wsock32)
SET(ACE_LIBRARY ${ACE_LIBRARY} winmm wsock32)
ENDIF(MINGW)

11/02/2007 - Alex Bernardino

Discussion

  • Alex Bernardino

    Alex Bernardino - 2007-02-11

    diff file generated by: diff -Naur FindAce.cmake FindAcecmake.2

     
  • Paul Fitzpatrick

    • status: open --> closed-accepted
     
  • Paul Fitzpatrick

    Logged In: YES
    user_id=611078
    Originator: NO

    Alex committed this some time back.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks