diff --git a/cmake/functions.cmake b/cmake/functions.cmake index 9d9a35ce7d..5fb161e513 100644 --- a/cmake/functions.cmake +++ b/cmake/functions.cmake @@ -23,7 +23,7 @@ endmacro() # Macro just like `install`, but converting the path from a unix # path to a windows path using `cygpath`. -macro(install_for_win TMP1 FILE TMP2 DEST) +macro(winstall TMP1 FILE TMP2 DEST) execute_process(COMMAND cygpath -m ${FILE} OUTPUT_VARIABLE WFILE) install(FILES ${WFILE} DESTINATION ${DEST}) endmacro()