File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11# Set default C compiler if not already set 
22find_program (CMAKE_C_COMPILER xc-dsc-gcc PATHS  ${XCDSC_TOOLCHAIN_PATH} /bin/ NO_DEFAULT_PATH )
33# XC-DSC toolchain does not support C++, so set CXX to fallback to gcc (or a dummy) # This prevents CMake errors if C++ is requested (even if unused) 
4- find_program (CMAKE_CXX_COMPILER gcc)
4+ find_program (CMAKE_CXX_COMPILER xc-dsc- gcc  PATHS   ${XCDSC_TOOLCHAIN_PATH} /bin/ NO_DEFAULT_PATH  )
55# Set assembler explicitly 
66find_program (CMAKE_ASM_COMPILER xc-dsc-gcc PATHS  ${XCDSC_TOOLCHAIN_PATH} /bin/ NO_DEFAULT_PATH )
77# Target CPU (must match user platform) 
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(WIN32)
99  message (STATUS  "Detected Windows shell: ${_CURRENT_SHELL} " )
1010
1111  # Buffer toolchain path from environment variable 
12-   set (_XCDSC_REAL "$ENV {XCDSC_TOOLCHAIN_PATH} " )
12+   set (_XCDSC_REAL "${XCDSC_TOOLCHAIN_PATH} " )
1313  if (NOT  _XCDSC_REAL)
1414    message (FATAL_ERROR "XCDSC_TOOLCHAIN_PATH is not set in the environment." )
1515  endif ()
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments