summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2024-04-02 00:16:33 +0300
committerDenys Fedoryshchenko <denys.f@collabora.com>2024-04-02 03:15:30 +0300
commit6de7ff916bca3ef97eefca9e36cd8db45c2a0c7e (patch)
treefec8f523f76aace6339df53b58951265ad7ffac6 /CMakeLists.txt
parent6afbc5075a3cf88a47f01c9051dd0a7fdcb06299 (diff)
downloadaccel-ppp-6de7ff916bca3ef97eefca9e36cd8db45c2a0c7e.tar.gz
accel-ppp-6de7ff916bca3ef97eefca9e36cd8db45c2a0c7e.zip
ipoe/vlan_mon: Add proper accel_ppp_version to vlan_mon and ipoe
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9afa2b5a..128b75a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,8 @@ ENDIF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
include(cmake/cpack.cmake)
ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}")
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
if (NOT BUILD_DRIVER_ONLY)
if (MEMDEBUG)