refactor(eventsub): consume date.h as submodule (#6044)
This commit is contained in:
@@ -48,7 +48,12 @@ add_library(${PROJECT_NAME} STATIC ${SOURCE_FILES})
|
||||
# Generate source groups for use in IDEs
|
||||
# source_group(TREE ${CMAKE_SOURCE_DIR} FILES ${SOURCE_FILES})
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../include")
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../include"
|
||||
PRIVATE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../lib/date/include"
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "twitch-eventsub-ws/chrono.hpp"
|
||||
|
||||
#include "twitch-eventsub-ws/date.h"
|
||||
#include <date/date.h>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user