Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dafc26984e | |||
| f9731614c8 |
+1
-3
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.14)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(libXISF VERSION 0.2.2 LANGUAGES CXX C)
|
project(libXISF VERSION 0.2.3 LANGUAGES CXX C)
|
||||||
|
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
||||||
@@ -18,7 +18,6 @@ cmake_dependent_option(USE_BUNDLED_ZLIB "Use bundled Zlib" ON "USE_BUNDLED_LIBS"
|
|||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
|
|
||||||
if(USE_BUNDLED_LIBS)
|
|
||||||
if(USE_BUNDLED_LZ4)
|
if(USE_BUNDLED_LZ4)
|
||||||
list(APPEND THIRD_PARTY_SRC
|
list(APPEND THIRD_PARTY_SRC
|
||||||
lz4/lz4.c
|
lz4/lz4.c
|
||||||
@@ -59,7 +58,6 @@ if(USE_BUNDLED_LIBS)
|
|||||||
else(USE_BUNDLED_ZLIB)
|
else(USE_BUNDLED_ZLIB)
|
||||||
pkg_check_modules(ZLIB zlib IMPORTED_TARGET REQUIRED)
|
pkg_check_modules(ZLIB zlib IMPORTED_TARGET REQUIRED)
|
||||||
endif(USE_BUNDLED_ZLIB)
|
endif(USE_BUNDLED_ZLIB)
|
||||||
endif(USE_BUNDLED_LIBS)
|
|
||||||
|
|
||||||
add_library(XISF
|
add_library(XISF
|
||||||
bytearray.cpp
|
bytearray.cpp
|
||||||
|
|||||||
+1
-1
@@ -912,7 +912,7 @@ void XISFWriterPrivate::writeImageElement(pugi::xml_node &node, const Image &ima
|
|||||||
|
|
||||||
if(image._cfa.width && image._cfa.height)
|
if(image._cfa.width && image._cfa.height)
|
||||||
{
|
{
|
||||||
pugi::xml_node cfa_node = node.append_child("ColorFilterArray");
|
pugi::xml_node cfa_node = image_node.append_child("ColorFilterArray");
|
||||||
cfa_node.append_attribute("pattern").set_value(image._cfa.pattern.c_str());
|
cfa_node.append_attribute("pattern").set_value(image._cfa.pattern.c_str());
|
||||||
cfa_node.append_attribute("width").set_value(image._cfa.width);
|
cfa_node.append_attribute("width").set_value(image._cfa.width);
|
||||||
cfa_node.append_attribute("height").set_value(image._cfa.height);
|
cfa_node.append_attribute("height").set_value(image._cfa.height);
|
||||||
|
|||||||
Reference in New Issue
Block a user