Fixed build conditions to depend on KICAD_USE_OCE (formerly USE_OCE) and removed extra spaces

This commit is contained in:
Cirilo Bernardo 2016-09-09 16:17:42 +10:00 committed by Wayne Stambaugh
parent 11a44388ee
commit 1848a87844
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,5 @@
add_subdirectory( idftools )
if( USE_OCE )
if( KICAD_USE_OCE )
add_subdirectory( kicad2step )
endif( USE_OCE )
endif( KICAD_USE_OCE )

View File

@ -1145,8 +1145,6 @@ TDF_Label PCBMODEL::transferModel( Handle( TDocStd_Document )& source,
stop.Next();
dtop.Next();
}
}
++id;