Skip to content

Commit

Permalink
Move include_directories statement to old location
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Nov 21, 2024
1 parent 2be1eac commit ba64334
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ include(FindPkgConfig)
pkg_search_module(SDL2 REQUIRED sdl2)
pkg_search_module(TINYGETTEXT QUIET tinygettext)

include_directories(
${PROJECT_SOURCE_DIR}/include
${SDL2_INCLUDE_DIRS}
)

# Link libraries
if(BUILD_STATIC)
set(CMAKE_CXX_FLAGS "-static ${CMAKE_CXX_FLAGS}")
Expand Down Expand Up @@ -166,6 +161,11 @@ else()
)
endif()

include_directories(
${PROJECT_SOURCE_DIR}/include
${SDL2_INCLUDE_DIRS}
)

if(TINYGETTEXT_FOUND OR BUILD_STATIC)
message("-- tinygettext library found, building with translation support")
if(NOT BUILD_STATIC)
Expand Down

0 comments on commit ba64334

Please sign in to comment.