Try to fix a compil issue in qa test

This commit is contained in:
jean-pierre charras 2019-01-11 17:23:58 +01:00
parent bac31d0911
commit decc7ed888
1 changed files with 6 additions and 1 deletions

View File

@ -62,6 +62,11 @@ set( common_libs
${wxWidgets_LIBRARIES}
)
# test_shape_arc.cpp does not compile without -fpermissive compil option:
if( CMAKE_COMPILER_IS_GNUCXX )
set( CMAKE_CXX_FLAGS "-fpermissive ${CMAKE_CXX_FLAGS}" )
endif()
# Use code with GERBVIEW defines in place (primarily IU difference)
add_executable( qa_common_gerbview ${common_srcs} )