Commit 1af44c78 authored by december0123's avatar december0123
Browse files

Change add_definitions to set cxx flags

parent 4a8cd616
......@@ -7,7 +7,7 @@ set(CMAKE_INSTALL_PREFIX "/usr/")
set(CMAKE_C_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
add_definitions(-std=c++11 -O0 -g -Wall -Wextra -Wunreachable-code -Werror)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -Wall -Wextra -Wunreachable-code -Werror")
add_subdirectory(libmhwd)
add_subdirectory(src)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment