From c0b8b3c54205d15cda38a32d3b51c2638d94c215 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 15 Apr 2018 00:35:49 -0600 Subject: [PATCH] CMake: Interrogate bugfix for LINK and IMPORT keywords together --- cmake/macros/Interrogate.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/Interrogate.cmake b/cmake/macros/Interrogate.cmake index 5e29837756..39b5cbe3dc 100644 --- a/cmake/macros/Interrogate.cmake +++ b/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()