From 365f9224e77e00de7af26f30e009da9011148ea6 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sat, 16 Nov 2019 10:02:10 -0800 Subject: [PATCH] CMake: Fix OCE/OCC swap unset() needs to remove the cached variable to get rid of the implicit version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab937838ec..07cc914929 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -468,7 +468,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 )