Files
MINGW-packages/mingw-w64-kicad-git/glm_version_ok.patch
2019-03-14 00:32:17 +03:00

18 lines
494 B
Diff

--- kicad/CMakeLists.txt.origin
+++ kicad/cmakelists.txt
@@ -587,10 +587,10 @@ endif()
# Find GLM library, required
#
find_package( GLM 0.9.5.1 REQUIRED )
-if( GLM_VERSION MATCHES "0.9.9.3" AND CMAKE_CXX_COMPILER_ID MATCHES "GNU")
- MESSAGE( FATAL_ERROR "\nGLM version ${GLM_VERSION} is incompatible with KiCad using GCC.\n"
- "Please downgrade to GLM version 0.9.9.2 or older or use clang instead" )
-endif()
+
+
+
+
add_definitions( -DGLM_FORCE_CTOR_INIT )