Commit 41d643bd authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix postinstall step of opencoreamr and voamrwbenc on Windows if building statically.

parent 44558700
......@@ -23,6 +23,12 @@
if(EXISTS ${INSTALL_PREFIX}/lib/libopencore-amrnb.dll.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libopencore-amrnb.dll.a" "${INSTALL_PREFIX}/lib/opencore-amrnb.lib")
endif()
if(EXISTS ${INSTALL_PREFIX}/lib/libopencore-amrnb.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libopencore-amrnb.a" "${INSTALL_PREFIX}/lib/opencore-amrnb.lib")
endif()
if(EXISTS ${INSTALL_PREFIX}/lib/libopencore-amrwb.dll.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libopencore-amrwb.dll.a" "${INSTALL_PREFIX}/lib/opencore-amrwb.lib")
endif()
if(EXISTS ${INSTALL_PREFIX}/lib/libopencore-amrwb.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libopencore-amrwb.a" "${INSTALL_PREFIX}/lib/opencore-amrwb.lib")
endif()
......@@ -23,3 +23,6 @@
if(EXISTS ${INSTALL_PREFIX}/lib/libvo-amrwbenc.dll.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libvo-amrwbenc.dll.a" "${INSTALL_PREFIX}/lib/vo-amrwbenc.lib")
endif()
if(EXISTS ${INSTALL_PREFIX}/lib/libvo-amrwbenc.a)
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${INSTALL_PREFIX}/lib/libvo-amrwbenc.a" "${INSTALL_PREFIX}/lib/vo-amrwbenc.lib")
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment