forked from aseprite/aseprite
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support jpeg Exif.Image.Orientation (fix aseprite#2525)
Added tinyexif submodule also.
- Loading branch information
1 parent
3848134
commit 1b43534
Showing
7 changed files
with
125 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (C) 2023 Igara Studio S.A. | ||
# Find tinyxml2 | ||
|
||
function(find_tinyxml2 dir dependencies) | ||
file(GLOB tinyxml2 ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/tinyxml2.cpp) | ||
list(REMOVE_AT ARGV 0) | ||
|
||
get_filename_component(tinyxml2name tinyxml2.cpp NAME_WE) | ||
|
||
add_executable(${tinyxml2name} tinyxml2.cpp) | ||
|
||
if(MSVC) | ||
# Fix problem compiling gen from a Visual Studio solution | ||
set_target_properties(${tinyxml2name} | ||
PROPERTIES LINK_FLAGS -ENTRY:"mainCRTStartup") | ||
endif() | ||
|
||
target_link_libraries(${tinyxml2name} tinyxml2 ${ARGV} ${PLATFORM_LIBS}) | ||
|
||
if(extra_definitions) | ||
set_target_properties(${tinyxml2name} | ||
PROPERTIES COMPILE_FLAGS ${extra_definitions}) | ||
endif() | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters