diff --git a/setup.py b/setup.py
index bede4ab3ab61d7d5fe70392e7060e4f045c93ac8..d75818d4fd762245e76c55206285db9495454f85 100644
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,7 @@ setup(
           "xbob/flandmark/ext/liblbp.cpp",
           "xbob/flandmark/ext/ext.cpp",
         ],
-        bob_modules = [
+        pkgconfig = [
           'opencv',
           ]
         )