mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
CMake: Fix OCE/OCC swap
unset() needs to remove the cached variable to get rid of the implicit version
This commit is contained in:
parent
577fbc6156
commit
365f9224e7
@ -468,7 +468,7 @@ endif()
|
|||||||
if( KICAD_USE_OCC )
|
if( KICAD_USE_OCC )
|
||||||
add_definitions( -DKICAD_USE_OCC )
|
add_definitions( -DKICAD_USE_OCC )
|
||||||
remove_definitions( -DKICAD_USE_OCE )
|
remove_definitions( -DKICAD_USE_OCE )
|
||||||
unset( KICAD_USE_OCE )
|
unset( KICAD_USE_OCE CACHE )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( KICAD_USE_CUSTOM_PADS )
|
if( KICAD_USE_CUSTOM_PADS )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user