Skip to content

Commit

Permalink
Fix compilation on Windows (#119)
Browse files Browse the repository at this point in the history
* Fix compile on Windows

* Remove redundant flag setting
  • Loading branch information
st0rmbtw committed Jun 15, 2024
1 parent debaa09 commit fb2883e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,6 @@ if(WIN32)
# Disable some warnings for MSVC compiler
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4251 /wd4290 /wd4103")
endif(MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /DLLGL_DEBUG")
else()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DLLGL_DEBUG")
endif(WIN32)

ADD_DEBUG_DEFINE(LLGL_DEBUG)
Expand Down

0 comments on commit fb2883e

Please sign in to comment.