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)
121121endif  ()
122122
123123function (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 ()
131124  if (EMSCRIPTEN)
132125    set (prefix  "wasm_" )
133126  else ()
134127    set (XEUS_CPP_PATH "$ENV{PATH} " )
135128    set (XEUS_CPP_LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH} " )
136129    set (XEUS_CPP_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX} /include )
137130  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 ()
138138  configure_file (
139139    "${CMAKE_CURRENT_SOURCE_DIR}${kernel}${prefix} kernel.json.in" 
140140    "${CMAKE_CURRENT_BINARY_DIR}${kernel} kernel.json" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments