diff -Naur cmake-2.8.1/Modules/FindGLUT.cmake cmake-2.8.1-haiku/Modules/FindGLUT.cmake
|
old
|
new
|
|
| 46 | 46 | /usr/openwin/include |
| 47 | 47 | /opt/graphics/OpenGL/include |
| 48 | 48 | /opt/graphics/OpenGL/contrib/libglut |
| | 49 | /boot/develop/headers/os/opengl |
| 49 | 50 | ) |
| 50 | 51 | |
| 51 | 52 | FIND_LIBRARY( GLUT_glut_LIBRARY glut |
| 52 | 53 | /usr/openwin/lib |
| | 54 | /boot/develop/lib/x86/ |
| 53 | 55 | ) |
| 54 | | |
| | 56 | |
| | 57 | IF(NOT BEOS) |
| 55 | 58 | FIND_LIBRARY( GLUT_Xi_LIBRARY Xi |
| 56 | 59 | /usr/openwin/lib |
| 57 | 60 | ) |
| … |
… |
|
| 59 | 62 | FIND_LIBRARY( GLUT_Xmu_LIBRARY Xmu |
| 60 | 63 | /usr/openwin/lib |
| 61 | 64 | ) |
| | 65 | ENDIF(NOT BEOS) |
| 62 | 66 | |
| 63 | 67 | ENDIF (APPLE) |
| 64 | 68 | |
| … |
… |
|
| 69 | 73 | IF(GLUT_glut_LIBRARY) |
| 70 | 74 | # Is -lXi and -lXmu required on all platforms that have it? |
| 71 | 75 | # If not, we need some way to figure out what platform we are on. |
| | 76 | IF(BEOS) |
| | 77 | SET( GLUT_LIBRARIES |
| | 78 | ${GLUT_glut_LIBRARY} |
| | 79 | ) |
| | 80 | ELSE(BEOS) |
| 72 | 81 | SET( GLUT_LIBRARIES |
| 73 | 82 | ${GLUT_glut_LIBRARY} |
| 74 | 83 | ${GLUT_Xmu_LIBRARY} |
| 75 | 84 | ${GLUT_Xi_LIBRARY} |
| 76 | 85 | ${GLUT_cocoa_LIBRARY} |
| 77 | 86 | ) |
| | 87 | ENDIF(BEOS) |
| 78 | 88 | SET( GLUT_FOUND "YES" ) |
| 79 | 89 | |
| 80 | 90 | #The following deprecated settings are for backwards compatibility with CMake1.4 |
| … |
… |
|
| 84 | 94 | ENDIF(GLUT_glut_LIBRARY) |
| 85 | 95 | ENDIF(GLUT_INCLUDE_DIR) |
| 86 | 96 | |
| | 97 | IF(BEOS) |
| | 98 | MARK_AS_ADVANCED( |
| | 99 | GLUT_INCLUDE_DIR |
| | 100 | GLUT_glut_LIBRARY |
| | 101 | ) |
| | 102 | ELSE(BEOS) |
| 87 | 103 | MARK_AS_ADVANCED( |
| 88 | 104 | GLUT_INCLUDE_DIR |
| 89 | 105 | GLUT_glut_LIBRARY |
| 90 | 106 | GLUT_Xmu_LIBRARY |
| 91 | 107 | GLUT_Xi_LIBRARY |
| 92 | 108 | ) |
| | 109 | ENDIF(BEOS) |
diff -Naur cmake-2.8.1/Modules/FindLua51.cmake cmake-2.8.1-haiku/Modules/FindLua51.cmake
|
old
|
new
|
|
| 57 | 57 | |
| 58 | 58 | IF(LUA_LIBRARY) |
| 59 | 59 | # include the math library for Unix |
| 60 | | IF(UNIX AND NOT APPLE) |
| | 60 | IF(UNIX AND NOT APPLE AND NOT BEOS) |
| 61 | 61 | FIND_LIBRARY(LUA_MATH_LIBRARY m) |
| 62 | 62 | SET( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries") |
| 63 | 63 | # For Windows and Mac, don't need to explicitly include the math library |
| 64 | 64 | ELSE(UNIX AND NOT APPLE) |
| 65 | 65 | SET( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries") |
| 66 | | ENDIF(UNIX AND NOT APPLE) |
| | 66 | ENDIF(UNIX AND NOT APPLE AND NOT BEOS) |
| 67 | 67 | ENDIF(LUA_LIBRARY) |
| 68 | 68 | |
| 69 | 69 | INCLUDE(FindPackageHandleStandardArgs) |
diff -Naur cmake-2.8.1/Modules/FindOpenGL.cmake cmake-2.8.1-haiku/Modules/FindOpenGL.cmake
|
old
|
new
|
|
| 80 | 80 | /usr/share/doc/NVIDIA_GLX-1.0/include |
| 81 | 81 | /usr/openwin/share/include |
| 82 | 82 | /opt/graphics/OpenGL/include /usr/X11R6/include |
| | 83 | /boot/develop/headers/os/opengl |
| 83 | 84 | ) |
| 84 | 85 | |
| 85 | 86 | FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h |
| … |
… |
|
| 94 | 95 | /usr/openwin/lib |
| 95 | 96 | /usr/shlib /usr/X11R6/lib |
| 96 | 97 | ${HPUX_IA_OPENGL_LIB_PATH} |
| | 98 | /boot/develop/lib/x86/ |
| 97 | 99 | ) |
| 98 | 100 | |
| 99 | 101 | # On Unix OpenGL most certainly always requires X11. |
diff -Naur cmake-2.8.1/bootstrap cmake-2.8.1-haiku/bootstrap
|
old
|
new
|
|
| 132 | 132 | cmake_default_prefix="c:/Program Files/CMake" |
| 133 | 133 | fi |
| 134 | 134 | elif ${cmake_system_haiku}; then |
| 135 | | cmake_default_prefix=`/bin/finddir B_COMMON_DIRECTORY` |
| | 135 | cmake_default_prefix=`finddir B_COMMON_DIRECTORY` |
| | 136 | cmake_man_dir="/documentation/man" |
| | 137 | cmake_doc_dir="/documentation/doc/cmake-${cmake_version}" |
| 136 | 138 | else |
| 137 | 139 | cmake_default_prefix="/usr/local" |
| 138 | 140 | fi |