File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ fn main() {
1313    let  dst = cmake:: Config :: new ( "valhalla" ) 
1414        . define ( "CMAKE_BUILD_TYPE" ,  build_type) 
1515        . define ( "CMAKE_EXPORT_COMPILE_COMMANDS" ,  "ON" )  // Required to extract include paths 
16-         // Enable link-time optimization only in Release configuration to have reasonable compile times in Debug 
17-         . define ( 
18-             "CMAKE_INTERPROCEDURAL_OPTIMIZATION" , 
19-             if  build_type == "Release"  {  "ON"  }  else  {  "OFF"  } , 
20-         ) 
16+         // //  Enable link-time optimization only in Release configuration to have reasonable compile times in Debug 
17+         //  .define(
18+         //      "CMAKE_INTERPROCEDURAL_OPTIMIZATION",
19+         //      if build_type == "Release" { "ON" } else { "OFF" },
20+         //  )
2121        // Disable everything we don't need to reduce number of system dependencies and speed up compilation 
2222        . define ( "ENABLE_TOOLS" ,  "OFF" ) 
2323        . define ( "ENABLE_DATA_TOOLS" ,  "OFF" ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments