Don't tell CMake we're making debug libraries if we're not.
authorStephen Kelly <stephen.kelly@kdab.com>
Fri, 20 Apr 2012 17:43:00 +0000 (19:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Apr 2012 15:03:43 +0000 (17:03 +0200)
commitf88212c22f7e4bec261130a6f82294adfc75abca
tree0bf83a3efc4702a6fb14d91244b21d43d5751069
parentecba58500e752899cbd4cedcd78cf1e7b35b043e
Don't tell CMake we're making debug libraries if we're not.

The config option debug_and_release is set on Windows and on
mac (unless xcode is used independently of whether Qt is configured
with -release or not.)

We need to check CONFIG(release,debug|release) to see if
-release was set.

Change-Id: Ibf952958874f6b102981526b3397e848c207a3f2
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
mkspecs/features/create_cmake.prf