Skip to content

Commit

Permalink
Merge pull request #14 from JohanMabille/xtl
Browse files Browse the repository at this point in the history
Removed dependency on xtl
  • Loading branch information
JohanMabille committed May 30, 2024
2 parents 9a20c36 + 79b23bb commit 83e222f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,9 @@ option(XCANVAS_BUILD_STATIC_LIBS "Build xcanvas static library (default if BUILD
# Dependencies
# ============

set(xtl_REQUIRED_VERSION 0.7.0)
set(xproperty_REQUIRED_VERSION 0.11.0)
set(xwidgets_REQUIRED_VERSION 0.27.1)

if (NOT TARGET xtl)
find_package(xtl ${xtl_REQUIRED_VERSION} REQUIRED)
endif ()

if (NOT TARGET xproperty)
find_package(xproperty ${xproperty_REQUIRED_VERSION} REQUIRED)
endif ()
Expand Down Expand Up @@ -120,7 +115,6 @@ macro(xcanvas_create_target target_name linkage output_name)
$<INSTALL_INTERFACE:include>)

target_link_libraries(${target_name}
PUBLIC xtl
PUBLIC xproperty
PUBLIC ${XWIDGETS_TARGET_NAME})

Expand Down
2 changes: 0 additions & 2 deletions include/xcanvas/xcanvas.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <utility>
#include <vector>

#include "xtl/xoptional.hpp"

#include "nlohmann/json.hpp"

#include "xwidgets/xcolor.hpp"
Expand Down
1 change: 0 additions & 1 deletion xcanvasConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
@XCANVAS_CONFIG_CODE@

include(CMakeFindDependencyMacro)
find_dependency(xtl @xtl_REQUIRED_VERSION@)
find_dependency(xwidgets @xeus_REQUIRED_VERSION@)
find_dependency(xproperty @xeus_REQUIRED_VERSION@)

Expand Down

0 comments on commit 83e222f

Please sign in to comment.