Skip to content

Commit

Permalink
examples: static link the io library
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh committed Sep 15, 2024
1 parent a2102dc commit d83a006
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (MSVC)
include_directories("../extra")
endif ()

add_library(heifio
add_library(heifio STATIC
decoder.h
decoder_y4m.cc
decoder_y4m.h)
Expand All @@ -25,8 +25,7 @@ endif()

set_target_properties(heifio
PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
VERSION ${PROJECT_VERSION})


target_compile_definitions(heifio
Expand Down

0 comments on commit d83a006

Please sign in to comment.