Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Thanks windows
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Sep 2, 2023
1 parent 5722ca0 commit c187c7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ endif()
string(REPLACE ";" " " WARNINGS_FLAGS "${WARNINGS}")
set(CMAKE_CXX_FLAGS "-g -O2")
set(CMAKE_C_FLAGS "-g -O2")
# TODO: prettify
if (WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
endif()
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2")
else()
Expand All @@ -43,9 +47,6 @@ set(OpenGL_GL_PREFERENCE GLVND)
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Widgets OpenGL OpenGLWidgets)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets OpenGL OpenGLWidgets)

if (WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
endif()
add_subdirectory(vendored/fmt)

# add_compile_options(-fsanitize=address -fsanitize=undefined)
Expand Down
1 change: 1 addition & 0 deletions n64/core/n64_rdp.cxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <algorithm>
#include <bit>
#include <bitset>
#include <cassert>
Expand Down

0 comments on commit c187c7d

Please sign in to comment.