Skip to content

Commit 751ebb1

Browse files
authored
Unconditionally enable C++ library exporting (#1529)
Unconditionally enable C++ library exporting as it also seems to be needed for object libraries if one depends on them. Not sure why this did not work before. Maybe some PR interference. /cc @louwers @CommanderStorm
1 parent 072754a commit 751ebb1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cpp/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,4 @@ if(MLT_WITH_TOOLS)
211211
endif(MLT_WITH_TOOLS)
212212

213213
list(APPEND MLT_EXPORT_TARGETS mlt-cpp-encoder)
214-
if(NOT MLT_AS_OBJECT_LIBRARY)
215-
export(TARGETS ${MLT_EXPORT_TARGETS} FILE MLTTargets.cmake)
216-
endif()
214+
export(TARGETS ${MLT_EXPORT_TARGETS} FILE MLTTargets.cmake)

0 commit comments

Comments
 (0)