Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinbarbalase authored Jun 4, 2024
1 parent 7a1d109 commit 645168b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,7 @@ add_definitions(-DDATA_PATH="${PROJECT_SOURCE_DIR}/data")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -pedantic -pedantic-errors -O0 -ggdb -DDEBUG -fno-inline -std=${CXXSTD} -D _POSIX_C_SOURCE=200809L")

find_package(SDL2 CONFIG REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})

find_package(SDL2_ttf CONFIG REQUIRED)
include_directories(${SDL2_ttf_INCLUDE_DIRS})

find_package(SDL2_image CONFIG REQUIRED)
include_directories(${SDL2_image_INCLUDE_DIRS})

find_package(SDL2_mixer CONFIG REQUIRED)
include_directories(${SDL2_mixer_INCLUDE_DIRS})
find_package(SDL2 REQUIRED)

option(math "Use math.h" ON)
option(threads "Use threads" ON)
Expand Down

0 comments on commit 645168b

Please sign in to comment.