File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ add_custom_target(libyang-cpp-version-cmake
21
21
cmake/ProjectGitVersionRunner.cmake
22
22
)
23
23
include (cmake/ProjectGitVersion.cmake )
24
- prepare_git_version (LIBYANG_CPP_VERSION "3" )
24
+ set (LIBYANG_CPP_PKG_VERSION "3" )
25
+ prepare_git_version (LIBYANG_CPP_VERSION ${LIBYANG_CPP_PKG_VERSION} )
25
26
26
27
find_package (Doxygen )
27
28
option (WITH_DOCS "Create and install internal documentation (needs Doxygen)" ${DOXYGEN_FOUND} )
28
29
option (BUILD_SHARED_LIBS "By default, shared libs are enabled. Turn off for a static build." ON )
29
30
30
31
find_package (PkgConfig REQUIRED )
31
32
pkg_check_modules (LIBYANG REQUIRED libyang>=3.7.8 IMPORTED_TARGET )
32
- set (LIBYANG_CPP_PKG_VERSION "3" )
33
33
34
34
# FIXME from gcc 14.1 on we should be able to use the calendar/time from libstdc++ and thus remove the date dependency
35
35
find_package (date )
You can’t perform that action at this time.
0 commit comments