22 lines · plain
1if (APPLE AND LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY)2 # Work around an issue with the Python headers, which have a modular include3 # inside an extern "C" block.4 remove_module_flags()5endif()6 7add_lldb_unittest(ScriptInterpreterPythonTests8 PythonDataObjectsTests.cpp9 PythonTestSuite.cpp10 11 LINK_COMPONENTS12 Support13 LINK_LIBS14 lldbHost15 lldbPluginScriptInterpreterPython16 LLVMTestingSupport17 )18 19if(Python3_RPATH)20 set_property(TARGET ScriptInterpreterPythonTests APPEND PROPERTY BUILD_RPATH "${Python3_RPATH}")21endif()22