aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2015-09-21 19:06:23 +0200
committerChristian Tismer <tismer@stackless.com>2015-09-21 19:06:23 +0200
commit0da0cf77038efd52172216b4cdcd3f3d8c4ddda9 (patch)
treeb28d5d8126ad236313e1ca2e4204f2f2a81c3979
parent388ac528de721b8307870ff0096195b246eb6b1b (diff)
not-so-small fix to the huge change.
I just understood what is needed to define a package: The files PySide2Config(...).cmake are crucial, the project names have little to do with that.
-rw-r--r--CMakeLists.txt4
-rw-r--r--tests/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41482cc..1cd62dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.0)
project(pyside2-tools)
-find_package(Shiboken 2.0.0 REQUIRED)
+find_package(Shiboken2 2.0.0 REQUIRED)
find_package(Qt5 REQUIRED Core)
-find_package(PySide 2.0.0 REQUIRED)
+find_package(PySide2 2.0.0 REQUIRED)
set(pyside_tools_MAJOR_VERSION "2")
set(pyside_tools_MINOR_VERSION "0")
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 04476d2..c4da74a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(Shiboken)
+find_package(Shiboken2 2.0.0 REQUIRED)
add_subdirectory(rcc)
add_test(QWizard ${SHIBOKEN_PYTHON_INTERPRETER} ${CMAKE_SOURCE_DIR}/pyside-uic "${CMAKE_CURRENT_SOURCE_DIR}/qwizard_test.ui")
set_tests_properties(QWizard PROPERTIES