Am Do., 10. Juli 2025 um 23:25 Uhr schrieb Kornel Benko <[email protected]>:
> Am Thu, 10 Jul 2025 23:13:47 +0200 > schrieb Yu Jin <[email protected]>: > > > Am Do., 10. Juli 2025 um 21:11 Uhr schrieb Kornel Benko <[email protected] > >: > > > > > Am Thu, 10 Jul 2025 19:16:54 +0200 > > > schrieb Yu Jin <[email protected]>: > > > > > > > Am Do., 10. Juli 2025 um 08:34 Uhr schrieb Kornel Benko < > [email protected] > > > >: > > > > > > > > > I have a patch ready to handle cc-options independently of the > > > compiler, > > > > > but would like > > > > > to check, if it is working with MSVC before pushing. Can you please > > > check? > > > > > > > > > > > > > I get this error with the patch: > > > > > > > > > > > > CMake Error at development/cmake/modules/LyXMacros.cmake:510 > > > > (check_c_compiler_flag): > > > > Unknown CMake command "check_c_compiler_flag". > > > > Call Stack (most recent call first): > > > > development/cmake/modules/LyXMacros.cmake:575 (perform_check_warning) > > > > 3rdparty/mythes/CMakeLists.txt:15 (handle_warning_options) > > > > > > > > > > Should be known from main CMakeLists.txt:749 > > > include(CheckCCompilerFlag) # used in 3rdparty > > > > > > > Which is in the "else" block of an "if(MSVC)", so it never hits with > > MSVC... > > Grrrr. Thanks. Please move the 2 include to before if(MSVC), we need both. > > include(CheckCXXCompilerFlag) > include(CheckCCompilerFlag) > Yes with that and your patch it worked. What does it mean for Beta? -- Eugene
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
