From d6acb645142d5b3e5d8918054b8d167a5fcbc6d6 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 (cherry picked from commit 365f9224e77e00de7af26f30e009da9011148ea6) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )