[EFL] Build break when using cmake without CMAKE_BUILD_TYPE

https://bugs.webkit.org/show_bug.cgi?id=114835

Unreviewed build fix.

Patch by Ryuan Choi <ryuan.choi@gmail.com> on 2013-04-18

* Source/cmake/OptionsEfl.cmake:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cdfe1cb3
2013-04-18 Ryuan Choi <ryuan.choi@gmail.com>
[EFL] Build break when using cmake without CMAKE_BUILD_TYPE
https://bugs.webkit.org/show_bug.cgi?id=114835
Unreviewed build fix.
* Source/cmake/OptionsEfl.cmake:
2013-04-16 Patrick Gansterer <paroga@webkit.org>
[CMake] Do not use JAVASCRIPTCORE_DIR in add_custom_command() of JavaScriptcore project
......
......@@ -9,7 +9,7 @@ if (NOT DEFINED ENABLE_WEBKIT2)
set(ENABLE_WEBKIT2 ON)
endif ()
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND NOT SHARED_CORE)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" AND NOT SHARED_CORE)
message(FATAL_ERROR "Turn on the SHARED_CORE flag to make a debug build - e.g.\n build-webkit --efl --debug --cmakeargs=\"-DSHARED_CORE=ON\".\n")
endif ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment