diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-19 10:16:28 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-19 10:20:14 +0100 |
commit | d38f930e41fb4b1123bab3a243fd04b3a74281e2 (patch) | |
tree | 3ffa0dbc1d7eb18df3ae651187381ab95aa2edf3 /sources/pyside2/tests/pysidetest/CMakeLists.txt | |
parent | 02018700e86a7eea18eac2952b819a9b77606d1b (diff) | |
parent | eaaba5fa6a0920f06783915d0ba9b4661023bbc1 (diff) |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I827c17bc77d4da46abc6db2a91a8cc9296b4c0e0
Diffstat (limited to 'sources/pyside2/tests/pysidetest/CMakeLists.txt')
-rw-r--r-- | sources/pyside2/tests/pysidetest/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/tests/pysidetest/CMakeLists.txt b/sources/pyside2/tests/pysidetest/CMakeLists.txt index 4dcf9b89c..3ba2ad29d 100644 --- a/sources/pyside2/tests/pysidetest/CMakeLists.txt +++ b/sources/pyside2/tests/pysidetest/CMakeLists.txt @@ -107,10 +107,17 @@ set_property(TARGET testbinding PROPERTY OUTPUT_NAME "testbinding${SHIBOKEN_PYTH if(WIN32) set_property(TARGET testbinding PROPERTY SUFFIX ".pyd") endif() + +if(PYTHON_LIMITED_API) + set(TESTBINDING_PYTHON_LIBS ${PYTHON_LIMITED_LIBRARIES}) +else() + set(TESTBINDING_PYTHON_LIBS ${PYTHON_LIBRARIES}) +endif() + target_link_libraries(testbinding pysidetest pyside2 - ${PYTHON_LIBRARIES} + ${TESTBINDING_PYTHON_LIBS} Shiboken2::libshiboken ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} |