2
0

pythonbindingsexample_clang.cmake 346 B

12345678910111213141516
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. if(MSVC)
  9. set(LY_COMPILE_OPTIONS PRIVATE /EHsc)
  10. else()
  11. set(LY_COMPILE_OPTIONS
  12. PRIVATE
  13. -fexceptions
  14. )
  15. endif()