Tests: Add workaround to Wrapping test for Watcom failure

The Watcom tools do not seem to like our wrapFLTK executable
to mix C and C++ sources.  Work around this by using C++ for
both sources.
This commit is contained in:
Brad King 2016-04-28 10:20:40 -04:00
parent 5b4f771fd7
commit 26790ad93b
2 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ add_library(wraplibFLTK ${wraplibFLTK_FLTK_UI_SRCS})
add_dependencies(wraplibFLTK fakefluid) add_dependencies(wraplibFLTK fakefluid)
add_dependencies(fakefluid Wrap) add_dependencies(fakefluid Wrap)
fltk_wrap_ui (wrapFLTK fltk2.fl) fltk_wrap_ui (wrapFLTK fltk2.fl)
add_executable(wrapFLTK wrapFLTK.c ${wrapFLTK_FLTK_UI_SRCS}) add_executable(wrapFLTK wrapFLTK.cxx ${wrapFLTK_FLTK_UI_SRCS})
target_link_libraries(wrapFLTK wraplibFLTK) target_link_libraries(wrapFLTK wraplibFLTK)
add_dependencies(wrapFLTK fakefluid) add_dependencies(wrapFLTK fakefluid)