On updating my travis-ci dbus workflow I recognized this warning.
Created attachment 138231 [details] [review] cmake: Fix warning on travis-ci 'CMAKE_FORCE_C.._COMPILER macro is deprecated' CMake suggests to set CMAKE_C.._COMPILER instead and let allow CMake to identify the compiler. Bug:
Comment on attachment 138231 [details] [review] cmake: Fix warning on travis-ci 'CMAKE_FORCE_C.._COMPILER macro is deprecated' Review of attachment 138231 [details] [review]: ----------------------------------------------------------------- Assuming it works, go ahead ::: cmake/i686-w64-mingw32.cmake @@ +11,3 @@ > set(MINGW TRUE) > > include(CMakeForceCompiler) With this change, is CMakeForceCompiler still needed?
(In reply to Simon McVittie from comment #2) > Comment on attachment 138231 [details] [review] [review] > cmake: Fix warning on travis-ci 'CMAKE_FORCE_C.._COMPILER macro is > deprecated' > > Review of attachment 138231 [details] [review] [review]: > ----------------------------------------------------------------- > > Assuming it works, go ahead I tried that on travis-ci > > ::: cmake/i686-w64-mingw32.cmake > @@ +11,3 @@ > > set(MINGW TRUE) > > > > include(CMakeForceCompiler) > > With this change, is CMakeForceCompiler still needed? from the file #.rst: # CMakeForceCompiler # ------------------ # # Deprecated. Do not use. I would say yes.
(In reply to Ralf Habacker from comment #3) > > With this change, is CMakeForceCompiler still needed? > > from the file > #.rst: > # CMakeForceCompiler > # ------------------ > # > # Deprecated. Do not use. > > I would say yes. sorry - I meant it could be removed
Created attachment 138245 [details] [review] cmake: Fix warning on travis-ci 'CMAKE_FORCE_C.._COMPILER macro is deprecated' - remove obsolate include
applied to master
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.