Skip to content

Commit

Permalink
add experimental source files to target instead of libheif_sources li…
Browse files Browse the repository at this point in the history
…st (which is too late)
  • Loading branch information
farindk committed Dec 7, 2024
1 parent 1d02ebe commit f907f23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libheif/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ endif ()

option(ENABLE_EXPERIMENTAL_FEATURES "Compile experimental features and install headers with unstable API" OFF)
if (ENABLE_EXPERIMENTAL_FEATURES)
list(APPEND libheif_sources api/libheif/heif_experimental.h
api/libheif/heif_experimental.cc)
target_sources(heif PRIVATE api/libheif/heif_experimental.h api/libheif/heif_experimental.cc)

list(APPEND libheif_headers api/libheif/heif_experimental.h)

Expand Down

0 comments on commit f907f23

Please sign in to comment.