CMake: Fix OCE/OCC swap
unset() needs to remove the cached variable to get rid of the implicit
version
(cherry picked from commit 365f9224e7
)
This commit is contained in:
parent
8e233e2591
commit
d6acb64514
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue