Browse Source

CMake: Interrogate bugfix for LINK and IMPORT keywords together

Sam Edwards 7 years ago
parent
commit
c0b8b3c542
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/macros/Interrogate.cmake

+ 1 - 1
cmake/macros/Interrogate.cmake

@@ -262,7 +262,7 @@ function(add_python_module module)
       endif()
     endforeach(arg)
 
-    if(NOT link_keyword)
+    if(NOT link_targets)
       set(link_targets ${targets})
     endif()