Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-20 06:54:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-20 06:54:56 +0400
commit97a85fe1000b727e0b6c04e0978e22d986125358 (patch)
treee09320f79b3e54e369437bd58884dc48d000256b /build_files/cmake/Modules/FindOpenJPEG.cmake
parent6d7e3509a9feb6d7259ad395d46ca20fa0b5234e (diff)
- add example for python rna property update
- edit the copyright for blender specific cmake find modules
Diffstat (limited to 'build_files/cmake/Modules/FindOpenJPEG.cmake')
-rw-r--r--build_files/cmake/Modules/FindOpenJPEG.cmake17
1 files changed, 10 insertions, 7 deletions
diff --git a/build_files/cmake/Modules/FindOpenJPEG.cmake b/build_files/cmake/Modules/FindOpenJPEG.cmake
index 319d202a68f..8d901ed633c 100644
--- a/build_files/cmake/Modules/FindOpenJPEG.cmake
+++ b/build_files/cmake/Modules/FindOpenJPEG.cmake
@@ -12,7 +12,7 @@
# OPENJPEG_LIBRARY, where to find the OpenJPEG library.
#=============================================================================
-# Copyright 2002-2009 Kitware, Inc.
+# Copyright 2011 Blender Foundation.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
@@ -21,8 +21,6 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
# If OPENJPEG_ROOT_DIR was defined in the environment, use it.
IF(NOT OPENJPEG_ROOT_DIR AND NOT $ENV{OPENJPEG_ROOT_DIR} STREQUAL "")
@@ -37,7 +35,9 @@ SET(_openjpeg_SEARCH_DIRS
/opt/csw # Blastwave
)
-FIND_PATH(OPENJPEG_INCLUDE_DIR openjpeg.h
+FIND_PATH(OPENJPEG_INCLUDE_DIR
+ NAMES
+ openjpeg.h
HINTS
${_openjpeg_SEARCH_DIRS}
PATH_SUFFIXES
@@ -45,9 +45,12 @@ FIND_PATH(OPENJPEG_INCLUDE_DIR openjpeg.h
)
FIND_LIBRARY(OPENJPEG_LIBRARY
- NAMES "openjpeg"
- HINTS ${_openjpeg_SEARCH_DIRS}
- PATH_SUFFIXES lib64 lib
+ NAMES
+ openjpeg
+ HINTS
+ ${_openjpeg_SEARCH_DIRS}
+ PATH_SUFFIXES
+ lib64 lib
)
# handle the QUIETLY and REQUIRED arguments and set OPENJPEG_FOUND to TRUE if