When CMAKE_BUILD_TYPE is empty, FIND command will be failed.
* CMakeLists.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157911
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
if (CMAKE_COMPILER_IS_GNUCXX) # Can restrict based on the version.
string(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" _CXXFLAGS_VARNAME)
if (CMAKE_COMPILER_IS_GNUCXX) # Can restrict based on the version.
string(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" _CXXFLAGS_VARNAME)
- string(FIND ${${_CXXFLAGS_VARNAME}} "-O3" _CXXFLAGS_O3_INDEX)
+ string(FIND "${${_CXXFLAGS_VARNAME}}" "-O3" _CXXFLAGS_O3_INDEX)
if (_CXXFLAGS_O3_INDEX GREATER -1)
string(REPLACE "-O3" "-O2" _CXXFLAGS ${${_CXXFLAGS_VARNAME}})
set_source_files_properties(Modules/websockets/WebSocketDeflater.cpp
if (_CXXFLAGS_O3_INDEX GREATER -1)
string(REPLACE "-O3" "-O2" _CXXFLAGS ${${_CXXFLAGS_VARNAME}})
set_source_files_properties(Modules/websockets/WebSocketDeflater.cpp
+2013-10-23 Ryuan Choi <ryuan.choi@samsung.com>
+
+ Unreviewed build fix on CMake based ports when CMAKE_BUILD_TYPE is not given.
+
+ When CMAKE_BUILD_TYPE is empty, FIND command will be failed.
+
+ * CMakeLists.txt:
+
2013-10-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Integrate css3-images image-orientation with existing EXIF support
2013-10-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Integrate css3-images image-orientation with existing EXIF support