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 <joerg.bornemann@nokia.com>
This commit is contained in:
Stephen Kelly 2011-12-01 14:15:20 +01:00 committed by Qt by Nokia
parent 1a52819c70
commit c7f8042064
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 2.8)
project(pass2)
find_package(Qt5Core REQUIRED)
include_directories(${Qt5Core_INCLUDE_DIRS})

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 2.8)
project(pass3)
find_package(Qt5Core REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5Widgets REQUIRED)