--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,7 +185,7 @@ if(N2N_OPTION_USE_PCAPLIB AND (NOT DEFIN
   # Linux Capabilities
   find_library(CAP_LIB cap)
   if(CAP_LIB)
-    target_link_libraries(edge cap.a)
+    target_link_libraries(edge cap)
     set(CMAKE_REQUIRED_LIBRARIES ${CAP_LIB})
     ADD_DEFINITIONS("-DHAVE_LIBCAP")
   endif()
