Skip to content

Commit

Permalink
fix #820 SWIG 4 no longer generates a mlt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Sep 19, 2022
1 parent a51419f commit e64b881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swig/php/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ set_target_properties(mltphp PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRAR
if(PHP_EXTENSION_DIR)
string(REGEX MATCH "lib.*" PHP_EXTENSION_INSTALL_DIR ${PHP_EXTENSION_DIR})
install(TARGETS mltphp DESTINATION ${PHP_EXTENSION_INSTALL_DIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mlt.php DESTINATION ${PHP_EXTENSION_INSTALL_DIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mlt.php DESTINATION ${PHP_EXTENSION_INSTALL_DIR} OPTIONAL)
endif()

0 comments on commit e64b881

Please sign in to comment.