File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -121,20 +121,20 @@ if (NOT DEFINED XEUS_CPP_KERNELSPEC_PATH)
121
121
endif ()
122
122
123
123
function (configure_kernel kernel )
124
- if (WIN32 )
125
- string (REPLACE "\\ " "/" kernel "${kernel} " )
126
- string (REPLACE "\\ " "/" XEUS_CPP_PATH "${XEUS_CPP_PATH} " )
127
- string (REPLACE "\\ " "/" XEUS_CPP_LD_LIBRARY_PATH "${XEUS_CPP_LD_LIBRARY_PATH} " )
128
- string (REPLACE "\\ " "/" XEUS_CPP_RESOURCE_DIR "${XEUS_CPP_RESOURCE_DIR} " )
129
- string (REPLACE "\\ " "/" XEUS_CPP_INCLUDE_DIR "${XEUS_CPP_INCLUDE_DIR} " )
130
- endif ()
131
124
if (EMSCRIPTEN )
132
125
set (prefix "wasm_" )
133
126
else ()
134
127
set (XEUS_CPP_PATH "$ENV{PATH} " )
135
128
set (XEUS_CPP_LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH} " )
136
129
set (XEUS_CPP_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX} /include )
137
130
endif ()
131
+ if (WIN32 )
132
+ string (REPLACE "\\ " "/" kernel "${kernel} " )
133
+ string (REPLACE "\\ " "/" XEUS_CPP_PATH "${XEUS_CPP_PATH} " )
134
+ string (REPLACE "\\ " "/" XEUS_CPP_LD_LIBRARY_PATH "${XEUS_CPP_LD_LIBRARY_PATH} " )
135
+ string (REPLACE "\\ " "/" XEUS_CPP_RESOURCE_DIR "${XEUS_CPP_RESOURCE_DIR} " )
136
+ string (REPLACE "\\ " "/" XEUS_CPP_INCLUDE_DIR "${XEUS_CPP_INCLUDE_DIR} " )
137
+ endif ()
138
138
configure_file (
139
139
"${CMAKE_CURRENT_SOURCE_DIR}${kernel}${prefix} kernel.json.in"
140
140
"${CMAKE_CURRENT_BINARY_DIR}${kernel} kernel.json"
You can’t perform that action at this time.
0 commit comments