Skip to content

Commit

Permalink
CMakeLists.txt: fix inclusion of multiple header files via set_target…
Browse files Browse the repository at this point in the history
…_properties()
  • Loading branch information
DDvO committed Sep 6, 2023
1 parent dff83ea commit c943919
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,13 @@ if(DEFINED USE_LIBCMP)
target_link_libraries(${LIBGENCMP_NAME} cmp) # needed for clang/MacOSX
endif()

set(INC_PUBLIC_HDRS
${INC_DIR}/genericCMPClient.h
${INC_DIR}/genericCMPClient_config.h
)
set_target_properties(${LIBGENCMP_NAME} PROPERTIES
VERSION ${GENCMPCLIENT_VERSION} SOVERSION ${GENCMPCLIENT_VERSION_MAJOR}
PUBLIC_HEADER "${INC_DIR}/genericCMPClient.h"
PUBLIC_HEADER "${INC_DIR}/genericCMPClient_config.h"
PUBLIC_HEADER "${INC_PUBLIC_HDRS}"
)

find_package(Git)
Expand Down

0 comments on commit c943919

Please sign in to comment.