diff options
Diffstat (limited to 'sources')
-rw-r--r-- | sources/pyside2/tests/pysidetest/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside2/tests/pysidetest/CMakeLists.txt b/sources/pyside2/tests/pysidetest/CMakeLists.txt index 6236dab3b..96a1d1535 100644 --- a/sources/pyside2/tests/pysidetest/CMakeLists.txt +++ b/sources/pyside2/tests/pysidetest/CMakeLists.txt @@ -3,6 +3,9 @@ project(testbinding) cmake_minimum_required(VERSION 2.6) +# On Windows, don't link to qtmain.lib for executables automatically. +cmake_policy(SET CMP0020 OLD) + set(QT_USE_QTCORE 1) # no more supported: include(${QT_USE_FILE}) add_definitions(${Qt5Core_DEFINITIONS}) |