Skip to content

Commit

Permalink
fix: mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-olivier committed Jul 21, 2024
1 parent 59c6de5 commit 722b1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(SOURCES src/dylib.cpp)

if(APPLE)
list(APPEND SOURCES src/mac.cpp src/unix.cpp)
elseif(WIN32)
elseif(WIN32 AND NOT MINGW)
list(APPEND SOURCES src/win.cpp)
else()
list(APPEND SOURCES src/linux.cpp src/unix.cpp)
Expand Down

0 comments on commit 722b1bf

Please sign in to comment.