eeschema: fix compil issue. Boost build: boost lib context built only on OSX (does not build on mingw, and not needed)
This commit is contained in:
parent
573b7424dc
commit
7fa0aa8f4f
|
@ -40,9 +40,15 @@ set( BOOST_ROOT "${PROJECT_SOURCE_DIR}/boost_root" )
|
||||||
# Space separated list which indicates the subset of boost libraries to compile.
|
# Space separated list which indicates the subset of boost libraries to compile.
|
||||||
# Chosen libraries are based on AVHTTP requirements, and possibly
|
# Chosen libraries are based on AVHTTP requirements, and possibly
|
||||||
# unit_test_framework for its own worth.
|
# unit_test_framework for its own worth.
|
||||||
# tool_manager.cpp -> coroutine -> context (_jump_fcontext)
|
# tool_manager.cpp -> coroutine -> context (_jump_fcontext) (on OSX)
|
||||||
|
if( APPLE )
|
||||||
|
set( BOOST_EXTRA_LIBS "context" )
|
||||||
|
else()
|
||||||
|
set( BOOST_EXTRA_LIBS "" )
|
||||||
|
endif()
|
||||||
|
|
||||||
set( BOOST_LIBS_BUILT
|
set( BOOST_LIBS_BUILT
|
||||||
context
|
${BOOST_EXTRA_LIBS}
|
||||||
#coroutine
|
#coroutine
|
||||||
date_time
|
date_time
|
||||||
#exception
|
#exception
|
||||||
|
|
|
@ -269,7 +269,7 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList, bool aRed
|
||||||
for( int ii = aList->GetCount() - 1; ii >= 0; ii-- )
|
for( int ii = aList->GetCount() - 1; ii >= 0; ii-- )
|
||||||
{
|
{
|
||||||
item = (SCH_ITEM*) aList->GetPickedItem( ii );
|
item = (SCH_ITEM*) aList->GetPickedItem( ii );
|
||||||
wxAssert( item );
|
wxASSERT( item );
|
||||||
|
|
||||||
item->ClearFlags();
|
item->ClearFlags();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue