File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ option(XEUS_R_USE_SHARED_XEUS "Link xr with the xeus shared library (instead of
58
58
option (XEUS_R_USE_SHARED_XEUS_R "Link xr with the xeus-r shared library (instead of the static library)" ON )
59
59
option (XEUS_R_EMSCRIPTEN_WASM_BUILD "Build for wasm with emscripten" OFF )
60
60
61
- option (INSTALL_HERA "Install the hera R package" ON )
62
-
63
61
if (EMSCRIPTEN)
64
62
add_compile_definitions (XEUS_R_EMSCRIPTEN_WASM_BUILD)
65
63
message ("Build with emscripten" )
@@ -97,7 +95,7 @@ message(STATUS "R_SCRIPT_COMMAND = ${R_SCRIPT_COMMAND}")
97
95
# ======================
98
96
99
97
# When cross-compiling, hera should be installed before building the project
100
- if (NOT " ${CMAKE_SYSTEM_NAME} " STREQUAL " ${CMAKE_HOST_SYSTEM_NAME} " )
98
+ if (XEUS_R_CROSS_COMPILING )
101
99
if (NOT EXISTS "${R_HOME} /library/hera" )
102
100
message (FATAL_ERROR "R 📦 hera is not installed" )
103
101
endif ()
You can’t perform that action at this time.
0 commit comments