[cmake-developers] [Review Request] Topic wxWidgets-cflags

Brad King brad.king at kitware.com
Fri Aug 22 09:44:31 EDT 2014


On 08/21/2014 03:25 PM, Richard Shaw wrote:
> So the string command should be something like:
> 
> string(REPLACE ";" " " wxWidgets_CXX_FLAGS_str "${wxWidgets_CXX_FLAGS}")
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS_str}")

Yes, and followed by unset(wxWidgets_CXX_FLAGS_str) to clear the
variable to not present it to applications.

Thanks,
-Brad




More information about the cmake-developers mailing list