Skip to content
This repository
Browse code

Add iphlpapi cmake module

Change-Id: I5208a3f8164db824055a7af545f135fe07b7255c
Reviewed-on: http://gerrit.aldebaran.lan:8080/1629
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
  • Loading branch information...
commit 4c6c6305e5825a80e80c92f366e8b760a5d4cb3d 1 parent 268a81c
Dimitri Merejkowsky dmerejkowsky authored
15 cmake/qibuild/modules/iphlpapi-config.cmake
... ... @@ -0,0 +1,15 @@
  1 +## Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
  2 +## Use of this source code is governed by a BSD-style license that can be
  3 +## found in the COPYING file.
  4 +
  5 +
  6 +clean(IPHLPAPI)
  7 +fpath(IPHLPAPI IPHLpApi.h)
  8 +# Note: find_library(Iphlpapi) won't work because it would
  9 +# return c:\windows\system32\iphlpapi.dll ...
  10 +if(MSCV)
  11 + set(IPHLPAPI_LIBRARIES iphlpapi.lib CACHE STRING "" FORCE)
  12 +else()
  13 + set(IPHLPAPI_LIBRARIES iphlpapi CACHE STRING "" FORCE)
  14 +endif()
  15 +export_lib(IPHLPAPI)
2  doc/source/changelog.rst
Source Rendered
@@ -47,7 +47,7 @@ CMake
47 47
48 48 * qibuild cmake modules:
49 49
50   - * added qtopengl, qtmultimedia, qt_phonon, eigen3
  50 + * added qtopengl, qtmultimedia, qt_phonon, eigen3, iphlpapi
51 51 * now using upstream ``FindQt4.cmake`` to find `qt` when `qmake` is in PATH.
52 52 * now using using ``FindBoost.cmake``
53 53 * zeromq: add dependency on RT for linux

0 comments on commit 4c6c630

Please sign in to comment.
Something went wrong with that request. Please try again.