Never mind, figured it out :) IF(MSVC) SET(CMAKE_CXX_FLAGS "/EHsc") ENDIF(MSVC)
On Sun, Jul 23, 2017 at 8:35 PM, Aaron Boxer <boxe...@gmail.com> wrote: > Hello, > > I am getting the following warning when building my project on Visual > Studio 14: > > warning C4530: C++ exception handler used, but unwind semantics are not > enabled. Specify /EHsc > > Is there a cmake option to enable unwind semantics on windows ? > > Thanks, > Aaron >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake