Pass the tests when run in visual studio.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 1 Dec 2011 13:15:20 +0000 (14:15 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 16:46:57 +0000 (17:46 +0100)
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>
tests/manual/cmake/pass2/CMakeLists.txt
tests/manual/cmake/pass3/CMakeLists.txt

index 68be458..31ddfa9 100644 (file)
@@ -1,6 +1,8 @@
 
 cmake_minimum_required(VERSION 2.8)
 
+project(pass2)
+
 find_package(Qt5Core REQUIRED)
 
 include_directories(${Qt5Core_INCLUDE_DIRS})
index b5ee3cd..cbc448b 100644 (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)