Skip to content

Commit 9819aa5

Browse files
committed
Update sol2 to 3.5.0 (Fixes #15 - compilation error on FreeBSD)
1 parent f9ee400 commit 9819aa5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ FetchContent_Declare(
4949
GIT_REPOSITORY "https://github.com/ThePhD/sol2.git"
5050
GIT_SHALLOW ON
5151
GIT_SUBMODULES ""
52-
GIT_TAG "v3.3.0"
52+
GIT_TAG "v3.5.0"
5353
)
5454

5555
FetchContent_Declare(
@@ -69,6 +69,8 @@ endif()
6969
FetchContent_GetProperties(${SOL2})
7070
if(NOT ${SOL2}_POPULATED)
7171
message(STATUS "Cloning ${SOL2}")
72+
option(SOL2_ENABLE_INSTALL "Enable installation of Sol2" ON)
73+
set(SOL2_ENABLE_INSTALL OFF)
7274
FetchContent_MakeAvailable(${SOL2})
7375
endif()
7476

0 commit comments

Comments
 (0)