Define GLM_FORCE_CTOR_INIT during build

This ensures that GLM objects are still initialized correctly when new
version of this library are used (after 0.9.9-a2).

This also fixes display corruption in 3D-viewer with Raytracer.

Fixes: lp:1762379
* https://bugs.launchpad.net/kicad/+bug/1762379
This commit is contained in:
Ievgenii Meshcheriakov 2018-04-13 12:43:15 +02:00 committed by Maciej Suminski
parent 0e151687e3
commit 89bf02adb7
1 changed files with 2 additions and 0 deletions

View File

@ -545,6 +545,8 @@ endif()
#
find_package( GLM 0.9.5.1 REQUIRED )
add_definitions( -DGLM_FORCE_CTOR_INIT )
#
# Find CURL library, required for github plugin
#