Commit eccdcd75 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Install yasm in C:/MinGW/bin so that it can be used from projects built with MinGW.

parent 056ff5cb
......@@ -74,9 +74,9 @@ if(WIN32)
file(RENAME "${_windows_tools_dir}/patch.exe" "${LINPHONE_BUILDER_WORK_DIR}/windows_tools/patch.exe")
file(RENAME "${_windows_tools_dir}/sed.exe" "${LINPHONE_BUILDER_WORK_DIR}/windows_tools/sed.exe")
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
file(RENAME "${_windows_tools_dir}/yasm-1.3.0-win64.exe" "${LINPHONE_BUILDER_WORK_DIR}/windows_tools/yasm.exe")
file(RENAME "${_windows_tools_dir}/yasm-1.3.0-win64.exe" "C:/MinGW/bin/yasm.exe")
else()
file(RENAME "${_windows_tools_dir}/yasm-1.3.0-win32.exe" "${LINPHONE_BUILDER_WORK_DIR}/windows_tools/yasm.exe")
file(RENAME "${_windows_tools_dir}/yasm-1.3.0-win32.exe" "C:/MinGW/bin/yasm.exe")
endif()
unset(_pkg_config_dir)
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