Skip to content

Commit

Permalink
Remove third-party lib
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Dec 13, 2023
1 parent 27bfbf5 commit 8ddae26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/tls_syntax/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ file(GLOB_RECURSE LIB_HEADERS CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/inc
file(GLOB_RECURSE LIB_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")

add_library(${CURRENT_LIB_NAME} ${LIB_HEADERS} ${LIB_SOURCES})
add_dependencies(${CURRENT_LIB_NAME} third_party)
target_link_libraries(${CURRENT_LIB_NAME} PUBLIC third_party)
# add_dependencies(${CURRENT_LIB_NAME} third_party)
# target_link_libraries(${CURRENT_LIB_NAME} PUBLIC third_party)
target_include_directories(${CURRENT_LIB_NAME}
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
Expand Down
8 changes: 4 additions & 4 deletions lib/tls_syntax/include/tls/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
#include <optional>
#include <stdexcept>

#ifdef VARIANT_COMPAT
#include <variant.hpp>
#else
//#ifdef VARIANT_COMPAT
//#include <variant.hpp>
//#else
#include <variant>
#endif // VARIANT_COMPAT
//#endif // VARIANT_COMPAT
#include <namespace.h>

namespace MLS_NAMESPACE::tls {
Expand Down

0 comments on commit 8ddae26

Please sign in to comment.