diff options
| author | Christophe Guébert <c.guebert@e-media.fr> | 2016-12-07 12:30:12 +0100 |
|---|---|---|
| committer | Christophe Guébert <c.guebert@e-media.fr> | 2016-12-07 12:30:12 +0100 |
| commit | b65005b241c58763b239fa9151f42e286b692813 (patch) | |
| tree | 5656c664169d819b87a5db4c2b3eee9c71fa2d71 /ports/charls/0001_cmake.patch | |
| parent | ed2994a5e930b27fd5dbe121b35fe0abba428376 (diff) | |
| download | vcpkg-b65005b241c58763b239fa9151f42e286b692813.tar.gz vcpkg-b65005b241c58763b239fa9151f42e286b692813.zip | |
Add CharLS.
Diffstat (limited to 'ports/charls/0001_cmake.patch')
| -rw-r--r-- | ports/charls/0001_cmake.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/charls/0001_cmake.patch b/ports/charls/0001_cmake.patch new file mode 100644 index 000000000..7f50a98e6 --- /dev/null +++ b/ports/charls/0001_cmake.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1aa40a8..1051997 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -33,6 +33,7 @@ option (BUILD_TESTING "Build tests" ON) + if (WIN32) + if (BUILD_SHARED_LIBS) + add_definitions(-D CHARLS_DLL) ++ set_source_files_properties(src/interface.cpp PROPERTIES COMPILE_FLAGS -DCHARLS_DLL_BUILD) + else() + add_definitions(-D CHARLS_STATIC) + endif() |
