Skip to content

Commit

Permalink
cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Aug 27, 2023
1 parent 0bc7cff commit 4d92613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ if(MSVC)
include_directories(${glm_INCLUDE_DIR})
add_definitions("/bigobj")
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} " /w")
SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} " /w")
SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} " /w /wd4710 /wd4711")
SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} " /w /wd4710 /wd4711")
# Kaguya uses a pointer to a local variable (in object.hpp file) to store class conversions.
# When used in different modules, the variable doesn't have the same address, preventing to mix kernel and UI bindings
add_definitions("-DKAGUYA_SUPPORT_MULTIPLE_SHARED_LIBRARY=1")
Expand Down

0 comments on commit 4d92613

Please sign in to comment.