Skip to content

Commit

Permalink
Fix compilation with clang-cl
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bielak <contact@janbielak.com>
  • Loading branch information
janekb04 committed Aug 29, 2021
1 parent 11131bf commit 8378491
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Expand Up @@ -33,11 +33,6 @@ else()
target_link_libraries(GLFWPP INTERFACE glfw)
endif()

#Enable exceptions if Clang-cl
if ((${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" AND "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC"))
target_compile_options(GLFWPP INTERFACE /EHs)
endif ()

#Build examples
if (GLFWPP_BUILD_EXAMPLES)
if (NOT (CMAKE_SYSTEM_NAME STREQUAL "Emscripten"))
Expand Down

0 comments on commit 8378491

Please sign in to comment.