summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-01-02 13:00:02 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-01-02 13:01:17 -0800
commit3ddfb04f41ac60529316f64ae5ab1a8ff1cce6e2 (patch)
treef5cd6ead02c34a65c6f577d62153601ba132f168 /lldb/source/API
parent086ac7e75c1027d0c68932ffee67e4d199c3d0ef (diff)
downloadbcm5719-llvm-3ddfb04f41ac60529316f64ae5ab1a8ff1cce6e2.tar.gz
bcm5719-llvm-3ddfb04f41ac60529316f64ae5ab1a8ff1cce6e2.zip
[lldb/CMake] Use PYTHON_LIBRARIES instead of PYTHON_LIBRARY
PYTHON_LIBRARIES is the canonical variable set by FindPythonLibs while PYTHON_LIBRARY is an implementation detail. This replaces the uses of the latter with the former.
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index 7b9d4cb61e2..d036caf2f43 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -172,9 +172,9 @@ endif()
if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
# Only MSVC has the ABI compatibility problem and avoids using FindPythonLibs,
- # so only it needs to explicitly link against ${PYTHON_LIBRARY}
+ # so only it needs to explicitly link against ${PYTHON_LIBRARIES}
if (MSVC AND LLDB_ENABLE_PYTHON)
- target_link_libraries(liblldb PRIVATE ${PYTHON_LIBRARY})
+ target_link_libraries(liblldb PRIVATE ${PYTHON_LIBRARIES})
endif()
else()
set_target_properties(liblldb
OpenPOWER on IntegriCloud