Skip to content

Commit

Permalink
of course CXX language is required to build .cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
Youw committed Nov 2, 2023
1 parent 1c5898d commit c5583cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ if(MSVC)
)
list(APPEND EXTRA_WINDOWS_INCLUDES "msvc")
elseif(MINGW)
enable_language(CXX)

set(LIB_MATH m)
add_compile_options(-Wall -Wextra -Wno-unused-parameter)
list(APPEND EXTRA_WINDOWS_SOURCES "mingw/readline.cpp")
Expand Down

0 comments on commit c5583cb

Please sign in to comment.