Changeset 150940 in webkit


Ignore:
Timestamp:
May 29, 2013 6:19:50 PM (11 years ago)
Author:
ryuan.choi@samsung.com
Message:

[CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
https://bugs.webkit.org/show_bug.cgi?id=116899

Reviewed by Laszlo Gombos.

  • CMakeLists.txt: Fixed if statement to escape when find command fails.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r150935 r150940  
    25412541    string(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" _CXXFLAGS_VARNAME)
    25422542
    2543     string(FIND ${_CXXFLAGS_VARNAME} "-O3" _CXXFLAGS_HAS_O3)
    2544     if (_CXXFLAGS_HAS_O3)
     2543    string(FIND ${_CXXFLAGS_VARNAME} "-O3" _CXXFLAGS_O3_INDEX)
     2544    if (_CXXFLAGS_O3_INDEX GREATER -1)
    25452545        string(REPLACE "-O3" "-O2" _CXXFLAGS ${${_CXXFLAGS_VARNAME}})
    25462546        set_source_files_properties(Modules/websockets/WebSocketDeflater.cpp
  • trunk/Source/WebCore/ChangeLog

    r150935 r150940  
     12013-05-29  Ryuan Choi  <ryuan.choi@samsung.com>
     2
     3        [CMAKE] cmake errors when CMAKE_BUILD_TYPE is not specified.
     4        https://bugs.webkit.org/show_bug.cgi?id=116899
     5
     6        Reviewed by Laszlo Gombos.
     7
     8        * CMakeLists.txt: Fixed if statement to escape when find command fails.
     9
    1102013-05-28  Oliver Hunt  <oliver@apple.com>
    211
Note: See TracChangeset for help on using the changeset viewer.