Remove a Clang warning and add a missing dependency to boost in cmake file.
This commit is contained in:
parent
d15f0e91e2
commit
2134e7de04
|
@ -403,6 +403,7 @@ add_subdirectory(tools)
|
|||
add_dependencies( pcbnew boost )
|
||||
add_dependencies( eeschema boost )
|
||||
add_dependencies( cvpcb boost )
|
||||
add_dependencies( gal boost )
|
||||
add_dependencies( common boost )
|
||||
add_dependencies( pcbcommon boost )
|
||||
add_dependencies( 3d-viewer boost )
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
|
||||
using namespace KiGfx;
|
||||
|
||||
|
||||
const double STROKE_FONT::LINE_HEIGHT_RATIO = 1.6;
|
||||
|
||||
|
||||
STROKE_FONT::STROKE_FONT( GAL* aGal ) :
|
||||
m_gal( aGal ),
|
||||
m_bold( false ),
|
||||
|
|
|
@ -182,7 +182,7 @@ private:
|
|||
*/
|
||||
VECTOR2D computeTextSize( const std::string& aText ) const;
|
||||
|
||||
static const double LINE_HEIGHT_RATIO = 1.6;
|
||||
static const double LINE_HEIGHT_RATIO;
|
||||
};
|
||||
} // namespace KiGfx
|
||||
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
|
||||
using namespace KiGfx;
|
||||
|
||||
|
||||
const double PCB_RENDER_SETTINGS::MAX_FONT_SIZE = 100000000;
|
||||
|
||||
|
||||
PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
|
||||
{
|
||||
// By default everything should be displayed as filled
|
||||
|
|
|
@ -106,7 +106,7 @@ protected:
|
|||
bool m_netNamesOnPads;
|
||||
bool m_netNamesOnTracks;
|
||||
|
||||
static const double MAX_FONT_SIZE = 100000000;
|
||||
static const double MAX_FONT_SIZE;
|
||||
|
||||
DisplayZonesMode m_displayZoneMode;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue