Skip to content

Commit ba24896

Browse files
committed
Remove extra vars
1 parent ca4f304 commit ba24896

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ option(XEUS_R_USE_SHARED_XEUS "Link xr with the xeus shared library (instead of
5858
option(XEUS_R_USE_SHARED_XEUS_R "Link xr with the xeus-r shared library (instead of the static library)" ON)
5959
option(XEUS_R_EMSCRIPTEN_WASM_BUILD "Build for wasm with emscripten" OFF)
6060

61-
option(INSTALL_HERA "Install the hera R package" ON)
62-
6361
if(EMSCRIPTEN)
6462
add_compile_definitions(XEUS_R_EMSCRIPTEN_WASM_BUILD)
6563
message("Build with emscripten")
@@ -97,7 +95,7 @@ message(STATUS "R_SCRIPT_COMMAND = ${R_SCRIPT_COMMAND}")
9795
# ======================
9896

9997
# 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)
10199
if(NOT EXISTS "${R_HOME}/library/hera")
102100
message(FATAL_ERROR "R 📦 hera is not installed")
103101
endif()

0 commit comments

Comments
 (0)