Clean up cmakelists
This commit is contained in:
parent
247a066e6f
commit
5a4843044b
1 changed files with 0 additions and 27 deletions
|
@ -12,9 +12,6 @@ set(CMAKE_C_STANDARD 23)
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
||||||
|
|
||||||
# set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
|
|
||||||
# set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
|
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
set(FETCHCONTENT_QUIET FALSE)
|
set(FETCHCONTENT_QUIET FALSE)
|
||||||
|
|
||||||
|
@ -31,30 +28,6 @@ message(STATUS "Using SDL via FetchContent")
|
||||||
FetchContent_MakeAvailable(SDL)
|
FetchContent_MakeAvailable(SDL)
|
||||||
set_property(DIRECTORY "${sdl_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
set_property(DIRECTORY "${sdl_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
# if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
|
||||||
# FetchContent_Declare(
|
|
||||||
# harfbuzz
|
|
||||||
# GIT_REPOSITORY "https://github.com/harfbuzz/harfbuzz.git"
|
|
||||||
# GIT_TAG 10.2.0
|
|
||||||
# GIT_SHALLOW TRUE
|
|
||||||
# GIT_PROGRESS TRUE
|
|
||||||
# )
|
|
||||||
# message(STATUS "Using harfbuzz via FetchContent")
|
|
||||||
# FetchContent_MakeAvailable(harfbuzz)
|
|
||||||
# set_property(DIRECTORY "${harfbuzz_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
|
||||||
|
|
||||||
# FetchContent_Declare(
|
|
||||||
# freetype
|
|
||||||
# GIT_REPOSITORY "https://gitlab.freedesktop.org/freetype/freetype.git"
|
|
||||||
# GIT_TAG VER-2-13-3
|
|
||||||
# GIT_SHALLOW TRUE
|
|
||||||
# GIT_PROGRESS TRUE
|
|
||||||
# )
|
|
||||||
# message(STATUS "Using freetype via FetchContent")
|
|
||||||
# FetchContent_MakeAvailable(freetype)
|
|
||||||
# set_property(DIRECTORY "${freetype_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
|
||||||
# endif()
|
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SDL_ttf
|
SDL_ttf
|
||||||
GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git
|
GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git
|
||||||
|
|
Loading…
Reference in a new issue