I am trying to use CMake to find WS2_32.dll on Windows Vista. For me, the dll
is located in C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib. So I use the
command:
FIND_LIBRARY(WS2 NAMES WS2_32 PATHS "C:/Program Files/Microsoft SDKs/Windows/*"
"C:/Program Files/Microsoft SDKs/Windows/*/*")
This command works on my computer, but I would like to make it more generic. I
tried FIND_PACKAGE(WS2 REQUIRED) but that did not find anything. Is there a
module available to find the WS2_32.dll? Also, is there a default or common
location for WS2_32.dll?
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake