Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Nov 6, 2023
1 parent b326ddc commit 1bdf967
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ if(MSVC)
target_link_options(Osiris PRIVATE $<$<CONFIG:Release>:/nodefaultlib /ENTRY:"DllMain">)
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(Osiris PRIVATE -Wno-missing-braces)
endif()

if(UNIX)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(Osiris PRIVATE -Wall -Wno-missing-braces)
target_link_options(Osiris PRIVATE LINKER:--no-undefined)
endif()
Expand Down

0 comments on commit 1bdf967

Please sign in to comment.