[CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Nov 2017 15:34:49 +0000 (15:34 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Nov 2017 15:34:49 +0000 (15:34 +0000)
commita1b752ce6dabfee648d17ff627383570b9810f0b
tree9a8ca1564edb7b944d8ca5e88a14bd79596f6259
parent65908fa457496341f386c2d288cd0fa03d9cc566
[CMake] Values of CMAKE_BUILD_TYPE from toolchain file are ignored
https://bugs.webkit.org/show_bug.cgi?id=179971

Reviewed by Carlos Alberto Lopez Perez.

* CMakeLists.txt: Call project() first, as it loads the toolchain
file, so that's done before checking CMAKE_BUILD_TYPE.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CMakeLists.txt
ChangeLog