[opengtl-commits] [579] cleanup references to openraw |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 579
Author: cyrille
Date: 2009-03-02 11:20:26 +0100 (Mon, 02 Mar 2009)
Log Message:
-----------
cleanup references to openraw
Modified Paths:
--------------
trunk/OpenGTL/Extensions/RawDC/CMakeLists.txt
Removed Paths:
-------------
trunk/OpenGTL/cmake/modules/FindOpenRaw.cmake
Modified: trunk/OpenGTL/Extensions/RawDC/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/Extensions/RawDC/CMakeLists.txt 2009-03-02 10:19:10 UTC (rev 578)
+++ trunk/OpenGTL/Extensions/RawDC/CMakeLists.txt 2009-03-02 10:20:26 UTC (rev 579)
@@ -11,7 +11,7 @@
RawDC.cpp )
add_library( RawDC SHARED ${RAW_DC_SRCS} ${libraw_LIB_SRCS} )
-target_link_libraries( RawDC GTLImageIO ${OPENRAW_LIBRARIES} )
+target_link_libraries( RawDC GTLImageIO )
# __STDC_LIMIT_MACROS is needed by LLVM's DataTypes.h
add_definitions( "-D__STDC_LIMIT_MACROS" )
Deleted: trunk/OpenGTL/cmake/modules/FindOpenRaw.cmake
===================================================================
--- trunk/OpenGTL/cmake/modules/FindOpenRaw.cmake 2009-03-02 10:19:10 UTC (rev 578)
+++ trunk/OpenGTL/cmake/modules/FindOpenRaw.cmake 2009-03-02 10:20:26 UTC (rev 579)
@@ -1,36 +0,0 @@
-
-
-INCLUDE(UsePkgConfig)
-PKGCONFIG(libopenraw-1.0 _openrawIncDir _openrawLinkDir _openrawLinkFlags _openrawCflags)
-
-set(OPENRAW_DEFINITIONS ${_openrawCflags})
-set(OPENRAW_LIBRARIES ${_openrawLinkFlags})
-set(OPENRAW_INCLUDE_DIR ${_openrawIncDir}/libopenraw-1.0)
-
-if(OPENRAW_DEFINITIONS AND OPENRAW_LIBRARIES)
-
- FIND_PROGRAM(PKGCONFIG_EXECUTABLE NAMES pkg-config PATHS /usr/bin/ /usr/local/bin )
-
- # query pkg-config asking for openraw == 0.0.6
- EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.0.6 libopenraw-1.0 RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
-
- if(_return_VALUE STREQUAL "0")
- set(OPENRAW_FOUND TRUE)
- set(HAVE_openraw TRUE)
- else(_return_VALUE STREQUAL "0")
- message(STATUS "openraw < 0.0.6 was found")
- endif(_return_VALUE STREQUAL "0")
-endif(OPENRAW_DEFINITIONS AND OPENRAW_LIBRARIES)
-
-if (OPENRAW_FOUND)
- if (NOT OPENRAW_FIND_QUIETLY)
- message(STATUS "Found openraw: ${OPENRAW_LIBRARIES} ${OPENRAW_INCLUDE_DIR}")
- endif (NOT OPENRAW_FIND_QUIETLY)
-else (openraw_FOUND)
- if (NOT OPENRAW_FIND_QUIETLY)
- message(STATUS "openraw was NOT found.")
- endif (NOT OPENRAW_FIND_QUIETLY)
- if (OPENRAW_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find openraw")
- endif (OPENRAW_FIND_REQUIRED)
-endif (OPENRAW_FOUND)