Skip to content

Commit

Permalink
Updated tools/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
br337 committed Nov 6, 2024
1 parent 58fcee4 commit 601b0eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ cmake_minimum_required(VERSION 3.5)

project(sdbus-c++-tools VERSION 2.0.0)

set(sdbus-c++-tools_VERSION ${CMAKE_PROJECT_VERSION})

include(GNUInstallDirs)

#-------------------------------
Expand Down Expand Up @@ -46,7 +44,7 @@ set(CMAKE_CXX_STANDARD 14)
add_executable(sdbus-c++-xml2cpp ${SDBUSCPP_XML2CPP_SRCS})
target_link_libraries (sdbus-c++-xml2cpp ${EXPAT_LIBRARIES})
target_include_directories(sdbus-c++-xml2cpp PRIVATE ${EXPAT_INCLUDE_DIRS})
target_compile_definitions(sdbus-c++-xml2cpp PRIVATE SDBUS_XML2CPP_VERSION="${sdbus-c++-tools_VERSION}")
target_compile_definitions(sdbus-c++-xml2cpp PRIVATE SDBUS_XML2CPP_VERSION="$${CMAKE_PROJECT_VERSION}")

#----------------------------------
# CMAKE CONFIG & PACKAGE CONFIG
Expand Down

0 comments on commit 601b0eb

Please sign in to comment.