diff options
author | Brad King <brad.king@kitware.com> | 2016-04-28 14:20:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-28 14:20:40 (GMT) |
commit | 26790ad93ba80f109c9033525c2ff5ac08d883bb (patch) | |
tree | 931e6725b30a5d2a25e4f1bff633d4a3361a811e /Tests | |
parent | 5b4f771fd7eb02f4bb5248194796d191347e492b (diff) | |
download | CMake-26790ad93ba80f109c9033525c2ff5ac08d883bb.zip CMake-26790ad93ba80f109c9033525c2ff5ac08d883bb.tar.gz CMake-26790ad93ba80f109c9033525c2ff5ac08d883bb.tar.bz2 |
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.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Wrapping/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/Wrapping/wrapFLTK.cxx (renamed from Tests/Wrapping/wrapFLTK.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index aca36bc..7d9a4c6 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -93,7 +93,7 @@ add_library(wraplibFLTK ${wraplibFLTK_FLTK_UI_SRCS}) add_dependencies(wraplibFLTK fakefluid) add_dependencies(fakefluid Wrap) 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) add_dependencies(wrapFLTK fakefluid) diff --git a/Tests/Wrapping/wrapFLTK.c b/Tests/Wrapping/wrapFLTK.cxx index 78f2de1..78f2de1 100644 --- a/Tests/Wrapping/wrapFLTK.c +++ b/Tests/Wrapping/wrapFLTK.cxx |