Changeset 1872 for code/trunk/cmake
- Timestamp:
- Oct 2, 2008, 7:00:54 PM (16 years ago)
- Location:
- code/trunk/cmake
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/FindALUT.cmake
r1776 r1872 49 49 /opt/include 50 50 ../libs/freealut-1.1.0/include 51 ${DEPENDENCY_DIR}/freealut-1.1.0/include 51 52 ) 52 53 … … 88 89 ../libs/freealut-1.1.0/src/.libs 89 90 ../libs/freealut-1.1.0/lib 91 ${DEPENDENCY_DIR}/freealut-1.1.0/lib 90 92 ) 91 93 ENDIF(${ALUT_INCLUDE_DIR} MATCHES ".framework") -
code/trunk/cmake/FindBoost.cmake
r1776 r1872 1 1 # THIS FILE HAS BEEN MODIFIED TO WORK ON THE TARDIS INFRASTURUCTURE of THE ETH. 2 # use with ca tion2 # use with caution 3 3 # Nicolas Schlumberger <nico AT orxonx DOT net> (C) 2007 4 4 # … … 118 118 ../libs/boost_1_34_1 119 119 # ../libs/boost-1_35_0 120 ${DEPENDENCY_DIR}/boost-1.35.0/include 120 121 121 122 # Help the user find it if we cannot. … … 187 188 mgw34-mt-1_34_1 188 189 mgw34-mt-1_35 190 vc80-mt-1_35 191 vc80-mt-gd-1_35 189 192 ) 190 193 … … 225 228 # For MSVC builds find debug library 226 229 IF(WIN32 AND MSVC AND Boost_${name}_LIBRARY) 227 FIND_LIBRARY(Boost_${name}_LIBRARY_DEBUG ${Boost_LIB_PREFIX}boost_${name}-${Boost_LIB_SUFFIX_DEBUG}) 230 FIND_LIBRARY(Boost_${name}_LIBRARY_DEBUG 231 NAMES ${Boost_LIB_PREFIX}boost_${name}-${Boost_LIB_SUFFIX_DEBUG} 232 PATHS ${Boost_LIBRARY_DIRS}) 228 233 229 234 IF(MSVC_IDE) -
code/trunk/cmake/FindCEGUI.cmake
r1810 r1872 26 26 FIND_PATH(CEGUI_INCLUDE_DIR CEGUI.h 27 27 ../libs/cegui-0.6.1/include 28 ${DEPENDENCY_DIR}/cegui-0.6.1/include 28 29 ) 29 30 … … 31 32 FIND_LIBRARY(CEGUI_LIBDIR NAMES ${CEGUI_LIBRARIES} PATHS 32 33 ../libs/cegui-0.6.1/bin 34 ${DEPENDENCY_DIR}/cegui-0.6.1/lib 33 35 ) 34 36 -
code/trunk/cmake/FindDirectX.cmake
r1776 r1872 17 17 FIND_PATH(DirectX_INCLUDE_DIR "dinput.h" 18 18 C:/DXSDK/Include 19 $ENV{DXSDK_DIR}/Include 19 20 ) 20 21 … … 22 23 C:/DXSDK/Lib 23 24 C:/DXSDK/Lib/x86 25 $ENV{DXSDK_DIR}/lib/x86 24 26 ) 25 27 -
code/trunk/cmake/FindENet.cmake
r1776 r1872 22 22 /usr/pack/enet-2007-sd/include 23 23 ../libs/enet-1.1/include 24 ${DEPENDENCY_DIR}/enet-1.2/include 24 25 ) 25 26 … … 28 29 PATHS /usr/lib /usr/local/lib /usr/pack/enet-2007-sd/i686-debian-linux3.1/lib/ 29 30 ../libs/enet-1.1 31 ${DEPENDENCY_DIR}/enet-1.2/lib 30 32 ) 31 33 -
code/trunk/cmake/FindOGRE.cmake
r1776 r1872 22 22 FIND_PATH(OGRE_INCLUDE_DIR Ogre.h 23 23 ../libs/ogre/OgreMain/include 24 ${DEPENDENCY_DIR}/ogre-1.4.9/include 24 25 ) 25 26 … … 27 28 FIND_LIBRARY(OGRE_LIBDIR NAMES ${OGRE_LIBRARIES} PATHS 28 29 ../libs/ogre/Samples/Common/bin/Release 30 ${DEPENDENCY_DIR}/ogre-1.4.9/lib 29 31 ) 30 32 -
code/trunk/cmake/FindOggVorbis.cmake
r1776 r1872 29 29 /opt/include 30 30 ../libs/libogg-1.1.3/include 31 ${DEPENDENCY_DIR}/libogg-1.1.3/include 31 32 ) 32 33 … … 41 42 /opt/include 42 43 ../libs/libvorbis-1.2.0/include 44 ${DEPENDENCY_DIR}/libvorbis-1.2.0/include 43 45 ) 44 46 … … 58 60 /opt/lib 59 61 ../libs/libogg-1.1.3/src/.libs 62 ${DEPENDENCY_DIR}/libogg-1.1.3/lib 60 63 ) 61 64 … … 71 74 /opt/lib 72 75 ../libs/libvorbis-1.2.0/lib/.libs 76 ${DEPENDENCY_DIR}/libvorbis-1.2.0/lib 73 77 ) 74 78 75 FIND_LIBRARY(VORBISENC_LIBRARY76 NAMES vorbisenc77 PATHS78 /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib79 /usr/local/lib80 /usr/lib81 /sw/lib82 /opt/local/lib83 /opt/csw/lib84 /opt/lib85 ../libs/libvorbis-1.2.0/lib/.libs86 )79 #FIND_LIBRARY(VORBISENC_LIBRARY 80 # NAMES vorbisenc 81 # PATHS 82 # /usr/pack/oggvorbis-1.0-ds/i686-debian-linux3.1/lib 83 # /usr/local/lib 84 # /usr/lib 85 # /sw/lib 86 # /opt/local/lib 87 # /opt/csw/lib 88 # /opt/lib 89 # ../libs/libvorbis-1.2.0/lib/.libs 90 # ) 87 91 88 92 FIND_LIBRARY(VORBISFILE_LIBRARY … … 97 101 /opt/lib 98 102 ../libs/libvorbis-1.2.0/lib/.libs 103 ${DEPENDENCY_DIR}/libvorbis-1.2.0/lib 99 104 ) 100 105 … … 123 128 SET (VORBIS_FOUND "NO") 124 129 125 IF (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBIS ENC_LIBRARY AND VORBISFILE_LIBRARY)130 IF (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)# AND VORBISENC_LIBRARY) 126 131 SET (VORBIS_FOUND "YES") 127 132 IF (NOT VORBIS_FIND_QUIETLY) … … 130 135 MESSAGE (STATUS " include path: ${VORBIS_INCLUDE_DIR}") 131 136 MESSAGE (STATUS " library path: ${VORBIS_LIBRARY}") 132 MESSAGE (STATUS " library path: ${VORBISENC_LIBRARY}")137 #MESSAGE (STATUS " library path: ${VORBISENC_LIBRARY}") 133 138 MESSAGE (STATUS " library path: ${VORBISFILE_LIBRARY}") 134 139 MESSAGE (STATUS " libraries: vorbis vorbisenc vorbisfile") 135 140 ENDIF (VERBOSE_FIND) 136 141 ENDIF (NOT VORBIS_FIND_QUIETLY) 137 ELSE (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBIS ENC_LIBRARY AND VORBISFILE_LIBRARY)142 ELSE (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY)# AND VORBISENC_LIBRARY) 138 143 IF (NOT VORBIS_INCLUDE_DIR) 139 144 MESSAGE (SEND_ERROR "Vorbis include path was not found.") … … 142 147 MESSAGE (SEND_ERROR "Vorbis library \"vorbis\" was not found.") 143 148 ENDIF (NOT VORBIS_LIBRARY) 144 IF (NOT VORBISENC_LIBRARY)145 MESSAGE (SEND_ERROR "Vorbis library \"vorbisenc\" was not found.")146 ENDIF (NOT VORBISENC_LIBRARY)149 #IF (NOT VORBISENC_LIBRARY) 150 # MESSAGE (SEND_ERROR "Vorbis library \"vorbisenc\" was not found.") 151 #ENDIF (NOT VORBISENC_LIBRARY) 147 152 IF (NOT VORBISFILE_LIBRARY) 148 153 MESSAGE (SEND_ERROR "Vorbis library \"vorbisfile\" was not found.") -
code/trunk/cmake/FindOpenAL.cmake
r1776 r1872 48 48 /opt/include 49 49 ../libs/openal-0.0.8/common/include 50 ${DEPENDENCY_DIR}/openal-1.1/include 50 51 ) 51 52 # I'm not sure if I should do a special casing for Apple. It is … … 85 86 /opt/lib 86 87 ../libs/openal-0.0.8/src/.libs 88 ${DEPENDENCY_DIR}/openal-1.1/lib 87 89 ) 88 90 ENDIF(${OPENAL_INCLUDE_DIR} MATCHES ".framework") -
code/trunk/cmake/FindTCL.cmake
r1776 r1872 30 30 ../libs/tcl8.5.2/unix 31 31 ../libs/tcl8.5.2/macosx 32 ${DEPENDENCY_DIR}/tcl-8.5.2/lib 32 33 ) 33 34 34 35 FIND_LIBRARY(TCL_LIBRARY 35 NAMES tcl tcl85 tcl8.5 tcl84 tcl8.4 36 NAMES tcl tcl85 tcl8.5 tcl84 tcl8.4 tcl85t 36 37 PATHS ${TCLTK_POSSIBLE_LIB_PATHS} 37 38 ) … … 57 58 /usr/include/tcl8.4 58 59 ../libs/tcl8.5.2/generic 60 ${DEPENDENCY_DIR}/tcl-8.5.2/include 59 61 ) 60 62 -
code/trunk/cmake/FindZLIB.cmake
r1776 r1872 37 37 FIND_PATH(ZLIB_INCLUDE_DIR zlib.h 38 38 ../libs/zlib/include 39 ${DEPENDENCY_DIR}/zlib-1.2.3/include 39 40 ) 40 41 … … 42 43 NAMES zlib 43 44 PATHS ${ZLIB_LIBRARY_DIR} 45 ${DEPENDENCY_DIR}/zlib-1.2.3/lib 44 46 ) 45 47 ENDIF(WIN32)
Note: See TracChangeset
for help on using the changeset viewer.