Ticket #47679: patch-src-util-CMakeLists.txt.diff

File patch-src-util-CMakeLists.txt.diff, 502 bytes (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • src/util/CMakeLists.txt

    https://github.com/qdot/libnifalcon/pull/29
    https://github.com/qdot/libnifalcon/commit/7e98c9f2bdf936d236260176921c865f8fd1b108
    old new  
    3636    ${Boost_THREAD_LIBRARY}
    3737    )
    3838
     39  # Boost thread requires system since 1.5x
     40  IF(Boost_SYSTEM_FOUND)
     41    LIST(APPEND CPP_LINK_LIBS "${Boost_SYSTEM_LIBRARY}")
     42  ENDIF()
     43
    3944  SET(SRCS
    4045        "FalconDeviceBoostThread.cpp"
    4146        "${LIBNIFALCON_INCLUDE_DIR}/falcon/util/FalconDeviceBoostThread.h"