Another try with Rscript

This commit is contained in:
Ian Bell
2016-04-11 19:39:58 -06:00
parent 6352e764d7
commit 33067132d2

View File

@@ -1070,7 +1070,11 @@ if (COOLPROP_R_MODULE)
install (TARGETS ${app_name} DESTINATION R/${CMAKE_SYSTEM_NAME}_${BITNESS}bit)
enable_testing()
add_test(R_test "${R_HOME}/Rscript" Example.R)
if (WIN32)
add_test(R_test "${R_HOME}/Rscript" Example.R)
else()
add_test(R_test Rscript Example.R)
endif()
endif()