Hi
I am compiling wxwidgets with cmake. But the output for windows cl compiler is with the flag /MD. Does anyone know how to get all the libs with the MT flag?
thank you.
cmake MT compiler option instead of the MD [SOLVED] Topic is solved
-
- In need of some credit
- Posts: 7
- Joined: Fri May 27, 2016 10:04 am
cmake MT compiler option instead of the MD [SOLVED]
Last edited by panagiotis on Tue Sep 15, 2020 10:45 am, edited 1 time in total.
Re: cmake MT compiler option instead of the MD
Did you try setting option wxBUILD_USE_STATIC_RUNTIME to ON?
-
- In need of some credit
- Posts: 7
- Joined: Fri May 27, 2016 10:04 am
Re: cmake MT compiler option instead of the MD [SOLVED]
thank you. I did not notice this one.
Re: cmake MT compiler option instead of the MD [SOLVED]
Only few of CMake build options are documented.
I recommend using CMake GUI to explore what options are available on your platform.
I recommend using CMake GUI to explore what options are available on your platform.