Skip to content

Commit

Permalink
Set IMPORTED_LINK_INTERFACE_LANGUAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
sboukortt committed Feb 14, 2024
1 parent b287403 commit cc6ea11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/jxl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ set_target_properties(jxl_export PROPERTIES
VISIBILITY_INLINES_HIDDEN 1
DEFINE_SYMBOL JXL_INTERNAL_LIBRARY_BUILD
LINKER_LANGUAGE CXX
IMPORTED_LINK_INTERFACE_LANGUAGES CXX
)
generate_export_header(jxl_export
BASE_NAME JXL
Expand Down
1 change: 1 addition & 0 deletions lib/jxl_cms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ target_compile_options(jxl_cms PRIVATE "${JPEGXL_INTERNAL_FLAGS}")
set_target_properties(jxl_cms PROPERTIES
POSITION_INDEPENDENT_CODE ON
CXX_VISIBILITY_PRESET hidden
IMPORTED_LINK_INTERFACE_LANGUAGES CXX
VISIBILITY_INLINES_HIDDEN 1)
target_link_libraries(jxl_cms PUBLIC jxl_base)
target_include_directories(jxl_cms PRIVATE
Expand Down

0 comments on commit cc6ea11

Please sign in to comment.