Changeset 95986 in webkit
- Timestamp:
- Sep 26, 2011 1:08:57 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r95958 r95986 1 2011-09-26 Raphael Kubo da Costa <kubo@profusion.mobi> 2 3 [CMake] Detect the operating system in a more generic way. 4 https://bugs.webkit.org/show_bug.cgi?id=67482 5 6 Reviewed by Adam Barth. 7 8 So far the buildsystem only considered Windows, Linux and Mac OS X as 9 valid operating systems, but any Unix (or at least the BSDs) should also 10 work fine. 11 12 By using the OS values CMake itself defines we can check for Unix 13 systems in a more generic fashion. 14 15 * Source/CMakeLists.txt: 16 1 17 2011-09-26 Jay Soffian <jaysoffian@gmail.com> 2 18 -
trunk/Source/CMakeLists.txt
r95896 r95986 74 74 # Determine the operating system 75 75 # ----------------------------------------------------------------------------- 76 IF (CMAKE_SYSTEM_NAME MATCHES "Linux") 77 SET(WTF_OS_UNIX 1) 78 76 IF (UNIX) 79 77 IF (APPLE) 80 78 SET(WTF_OS_MAC_OS_X 1) 79 ELSE () 80 SET(WTF_OS_UNIX 1) 81 81 ENDIF () 82 82 ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows")
Note: See TracChangeset
for help on using the changeset viewer.