Skip to content

Commit d6ede34

Browse files
author
Kasper Peeters
committed
Attempt to fix windows installation process.
1 parent 3b91def commit d6ede34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/functions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endmacro()
2626
macro(winstall TYPE FILE TMP2 DEST)
2727
execute_process(COMMAND cygpath -m ${FILE} OUTPUT_VARIABLE WFILE OUTPUT_STRIP_TRAILING_WHITESPACE)
2828
if(EXISTS ${WFILE})
29-
install(TYPE ${WFILE} DESTINATION ${DEST})
29+
install(${TYPE} ${WFILE} DESTINATION ${DEST})
3030
else()
3131
message(STATUS "WARNING: file/dir ${WFILE} not present, skipping installation")
3232
endif()

0 commit comments

Comments
 (0)