diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d59283fc1..dc9b794b9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -413,7 +413,7 @@ endif() if( KICAD_USE_OCC ) add_definitions( -DKICAD_USE_OCC ) remove_definitions( -DKICAD_USE_OCE ) - unset( KICAD_USE_OCE ) + unset( KICAD_USE_OCE CACHE ) endif() if( KICAD_USE_CUSTOM_PADS )