Skip to content

Commit

Permalink
Add iphlpapi cmake module
Browse files Browse the repository at this point in the history
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
dmerejkowsky committed Jun 6, 2012
1 parent 268a81c commit 4c6c630
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions cmake/qibuild/modules/iphlpapi-config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.


clean(IPHLPAPI)
fpath(IPHLPAPI IPHLpApi.h)
# Note: find_library(Iphlpapi) won't work because it would
# return c:\windows\system32\iphlpapi.dll ...
if(MSCV)
set(IPHLPAPI_LIBRARIES iphlpapi.lib CACHE STRING "" FORCE)
else()
set(IPHLPAPI_LIBRARIES iphlpapi CACHE STRING "" FORCE)
endif()
export_lib(IPHLPAPI)
2 changes: 1 addition & 1 deletion doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CMake

* qibuild cmake modules:

* added qtopengl, qtmultimedia, qt_phonon, eigen3
* added qtopengl, qtmultimedia, qt_phonon, eigen3, iphlpapi
* now using upstream ``FindQt4.cmake`` to find `qt` when `qmake` is in PATH.
* now using using ``FindBoost.cmake``
* zeromq: add dependency on RT for linux
Expand Down

0 comments on commit 4c6c630

Please sign in to comment.