small updates

This commit is contained in:
Green Sky 2024-04-07 11:02:12 +02:00
parent b14bcfada7
commit 3d9e963ca4
No known key found for this signature in database
3 changed files with 4 additions and 11 deletions

View File

@ -33,7 +33,7 @@ if (SOLANACEAE_SDBOT_WEBUI_STANDALONE)
endif() endif()
# external libs # external libs
add_subdirectory(./external) # before increasing warn levels, sad :( add_subdirectory(./external EXCLUDE_FROM_ALL) # before increasing warn levels, sad :(
if (SOLANACEAE_SDBOT_WEBUI_STANDALONE) if (SOLANACEAE_SDBOT_WEBUI_STANDALONE)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)

View File

@ -41,16 +41,6 @@ if (
endif() endif()
endif() endif()
# TODO: move entt dep into solanaceae_contact
if (NOT TARGET EnTT::EnTT)
FetchContent_Declare(EnTT
GIT_REPOSITORY https://github.com/skypjack/entt.git
GIT_TAG v3.12.2
EXCLUDE_FROM_ALL
)
FetchContent_MakeAvailable(EnTT)
endif()
if (NOT TARGET solanaceae_util) if (NOT TARGET solanaceae_util)
FetchContent_Declare(solanaceae_util FetchContent_Declare(solanaceae_util
GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_util.git GIT_REPOSITORY https://github.com/Green-Sky/solanaceae_util.git

View File

@ -7,4 +7,7 @@ add_library(happyhttp STATIC
target_include_directories(happyhttp PUBLIC .) target_include_directories(happyhttp PUBLIC .)
target_compile_features(happyhttp PUBLIC cxx_std_11) target_compile_features(happyhttp PUBLIC cxx_std_11)
if(WIN32)
target_link_libraries(happyhttp iphlpapi ws2_32)
endif()