Skip to content

Commit

Permalink
Added some build flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
hurrhnn committed Aug 15, 2021
1 parent 9459ee4 commit dacc724
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.1)
project(ra_player C)

set(CMAKE_C_FLAGS "-O2")
set(CMAKE_C_FLAGS "-Wall -Wextra")
set(CMAKE_C_FLAGS_RELEASE "-O3")

add_library(opus STATIC IMPORTED)
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
Expand Down

0 comments on commit dacc724

Please sign in to comment.