~saiarcot895/ubuntu/trusty/openscenegraph/armhf-support

« back to all changes in this revision

Viewing changes to OpenSceneGraph/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Luaces
  • Date: 2010-05-03 21:42:01 UTC
  • mfrom: (1.1.9 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100503214201-iy060qxb94vsfv87
Tags: 2.8.3-3
* Added README.source. Thanks Manuel Montecelo.
* Removed FindGDAL.cmake file supplied by upstream since it does not
  detect current libgdal1-1.6.0. The script provided by CMake works
  fine.
* Removed openthreads-doc since OpenThreads documentation is shared with
  OpenSceneGraph's, hence this package was empty.
* Now ccache handling is being done automatically by CMake.
* Drop conflict dependencies with previous versions to let them coexist
  with current ones (Closes: #580079 #580081).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
 
2
 
1
3
IF(WIN32)
2
4
    CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
3
5
ELSE(WIN32)
28
30
 
29
31
SET(OPENSCENEGRAPH_MAJOR_VERSION 2)
30
32
SET(OPENSCENEGRAPH_MINOR_VERSION 8)
31
 
SET(OPENSCENEGRAPH_PATCH_VERSION 1)
32
 
SET(OPENSCENEGRAPH_SOVERSION 55)
 
33
SET(OPENSCENEGRAPH_PATCH_VERSION 3)
 
34
SET(OPENSCENEGRAPH_SOVERSION 65)
33
35
 
34
36
# set to 0 when not a release candidate, non zero means that any generated 
35
37
# svn tags will be treated as release candidates of given number
263
265
 
264
266
OPTION(OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION "Set to ON to use the ref_ptr<> T* operator() output conversion. " ON)
265
267
 
 
268
OPTION(OSG_CPP_EXCEPTIONS_AVAILABLE "Set to OFF to disable compile of OSG components that use C++ exceptions." ON)
 
269
 
266
270
################################################################################
267
271
# Set Config file
268
272
 
293
297
FIND_PACKAGE(Jasper)
294
298
FIND_PACKAGE(OpenEXR)
295
299
FIND_PACKAGE(COLLADA)
 
300
FIND_PACKAGE(FBX)
296
301
FIND_PACKAGE(ZLIB)
297
302
FIND_PACKAGE(Xine)
298
303
FIND_PACKAGE(OpenVRML)
302
307
FIND_PACKAGE(ITK)
303
308
FIND_PACKAGE(LibVNCServer)
304
309
FIND_PACKAGE(OurDCMTK)
 
310
FIND_PACKAGE(OpenAL)
305
311
FIND_PACKAGE(XUL)
 
312
FIND_PACKAGE(FFmpeg)
306
313
 
307
314
#use pkg-config to find various modues
308
315
INCLUDE(FindPkgConfig OPTIONAL)