Commit 01cb9b95 authored by Filipe Saraiva's avatar Filipe Saraiva

Put the FindR.cmake in a POSIX compatible way

BUG: 365897
parent e0b01a8c
......@@ -31,7 +31,7 @@ IF(R_EXECUTABLE)
OUTPUT_VARIABLE R_INCLUDE_DIR)
ELSE(WIN32)
EXECUTE_PROCESS(
COMMAND ${R_EXECUTABLE} CMD sh -c "echo -n $R_INCLUDE_DIR"
COMMAND ${R_EXECUTABLE} CMD sh -c "printf $R_INCLUDE_DIR"
OUTPUT_VARIABLE R_INCLUDE_DIR)
ENDIF(WIN32)
ENDIF(NOT R_INCLUDE_DIR)
......
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