Commit ac9ff8a7 authored by Ghislain MARY's avatar Ghislain MARY

Install yasm in CMAKE_PROGRAM_PATH on Windows.

parent 46d83519
...@@ -65,9 +65,11 @@ if(WIN32) ...@@ -65,9 +65,11 @@ if(WIN32)
) )
if(NOT WINDOWS_UNIVERSAL) if(NOT WINDOWS_UNIVERSAL)
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
file(RENAME "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win64.exe" "C:/MinGW/bin/yasm.exe") file(RENAME "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win64.exe" "${CMAKE_PROGRAM_PATH}/yasm.exe")
file(REMOVE "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win32.exe")
else() else()
file(RENAME "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win32.exe" "C:/MinGW/bin/yasm.exe") file(RENAME "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win32.exe" "${CMAKE_PROGRAM_PATH}/yasm.exe")
file(REMOVE "${CMAKE_PROGRAM_PATH}/yasm-1.3.0-win64.exe")
endif() endif()
endif() endif()
endif() 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