Browse Source

CMake: Fix OCE/OCC swap

unset() needs to remove the cached variable to get rid of the implicit
version
merge-requests/1/head
Seth Hillbrand 6 years ago
parent
commit
365f9224e7
  1. 2
      CMakeLists.txt

2
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 )

Loading…
Cancel
Save