Not needed

This commit is contained in:
SM9CC 2021-11-25 14:28:51 +00:00
parent 8fc509ce1f
commit 94e50d704a
No known key found for this signature in database
GPG Key ID: 497769F3F5AD3A35

View File

@ -23,16 +23,11 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
file(GLOB_RECURSE SOURCES "${CMAKE_SOURCE_DIR}/include/*.cpp" "${CMAKE_SOURCE_DIR}/resources/*.cpp" "${CMAKE_SOURCE_DIR}/src/*.cpp")
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(nlohmann_json REQUIRED)
find_package(ftxui REQUIRED)
add_executable(CachyOS-Installer ${SOURCES} src/utils.h src/utils.cpp src/definitions.h)
target_include_directories(CachyOS-Installer PRIVATE ${SDL2_INCLUDE_DIRS} "${CMAKE_SOURCE_DIR}/include/")
target_include_directories(CachyOS-Installer PRIVATE "${CMAKE_SOURCE_DIR}/include/")
target_link_libraries(CachyOS-Installer PRIVATE ftxui::screen PRIVATE ftxui::dom PRIVATE ftxui::component nlohmann_json::nlohmann_json)
target_link_options(CachyOS-Installer PRIVATE LINKER:--no-undefined)