Skip to content

Commit

Permalink
Update filib
Browse files Browse the repository at this point in the history
  • Loading branch information
zfergus committed Sep 21, 2024
1 parent a34c034 commit 18608f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions cmake/recipes/filib.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# filib (https://github.com/zfergus/filib.git)
# License: LGPL
# License: LGPL-2.1
if(TARGET filib::filib)
return()
endif()

message(STATUS "Third-party: creating target 'filib::filib'")

# This has to be set to ON to avoid licensing IPC Toolkit under LGPL
set(FILIB_BUILD_SHARED_LIB ON CACHE BOOL "Build shared library" FORCE)

include(CPM)
CPMAddPackage("gh:zfergus/filib#1cd377a7c833a68dc47217829e333f4886c5c46d")
CPMAddPackage("gh:zfergus/filib#5b9cbc73790585b391da1624c1f1ea52eaaeb5ac")
2 changes: 1 addition & 1 deletion src/ipc/utils/interval.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Interval : public interval {
this->SUP = 0;
}

Interval(double x)
explicit Interval(double x)
{
this->INF = x;
this->SUP = x;
Expand Down

0 comments on commit 18608f5

Please sign in to comment.