From c7f80420649d8d37e25514bcd2859de1e21166d6 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 1 Dec 2011 14:15:20 +0100 Subject: Pass the tests when run in visual studio. Make sure the name of the project corresponds to the project name passed to try_compile so that the .sln files are created. Change-Id: Ifee24ac4ab6a16a538bdf7fb32ea252eb1ba436a Reviewed-by: Joerg Bornemann --- tests/manual/cmake/pass2/CMakeLists.txt | 2 ++ tests/manual/cmake/pass3/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tests/manual') diff --git a/tests/manual/cmake/pass2/CMakeLists.txt b/tests/manual/cmake/pass2/CMakeLists.txt index 68be458cc9..31ddfa94a5 100644 --- a/tests/manual/cmake/pass2/CMakeLists.txt +++ b/tests/manual/cmake/pass2/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 2.8) +project(pass2) + find_package(Qt5Core REQUIRED) include_directories(${Qt5Core_INCLUDE_DIRS}) diff --git a/tests/manual/cmake/pass3/CMakeLists.txt b/tests/manual/cmake/pass3/CMakeLists.txt index b5ee3cdacd..cbc448baa1 100644 --- a/tests/manual/cmake/pass3/CMakeLists.txt +++ b/tests/manual/cmake/pass3/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 2.8) +project(pass3) + find_package(Qt5Core REQUIRED) find_package(Qt5Gui REQUIRED) find_package(Qt5Widgets REQUIRED) -- cgit v1.2.3