]> git.pld-linux.org Git - packages/CharLS.git/blob - CharLS-add_cmake_install_target.patch
- x32 rebuild
[packages/CharLS.git] / CharLS-add_cmake_install_target.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8304f0d..88f0949 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -12,6 +12,11 @@ SET(CMAKE_CXX_FLAGS "-D NDEBUG -O3" )
6  ENDIF(CMAKE_COMPILER_IS_GNUCC)
7  ENDIF(NOT CMAKE_BUILD_TYPE)
8  
9 +SET( charls_HEADERS "colortransform.h"  "context.h" "decoderstrategy.h"  "encoderstrategy.h"  "interface.h"
10 +    "losslesstraits.h"  "scan.h"    "streams.h" "config.h"          "contextrunmode.h"  "defaulttraits.h"
11 +    "header.h"           "lookuptable.h"  "processline.h"      "util.h" "publictypes.h"
12 +)
13 +
14  OPTION(charls_BUILD_SHARED_LIBS "Build CharLS with shared libraries." OFF)
15  SET(BUILD_SHARED_LIBS ${charls_BUILD_SHARED_LIBS})
16  
17 @@ -21,3 +26,7 @@ add_library(CharLS header.cpp  interface.cpp  jpegls.cpp  )
18  add_executable(charlstest test/main.cpp test/time.cpp test/util.cpp test/bitstreamdamage.cpp test/compliance.cpp test/performance.cpp test/dicomsamples.cpp)
19  target_link_libraries (charlstest CharLS)
20  
21 +# Installs the header files into the {build_dir}/include/libcharls directory
22 +install(FILES ${charls_HEADERS} DESTINATION include/CharLS)
23 +
24 +
This page took 0.06909 seconds and 3 git commands to generate.