Skip to content

Commit

Permalink
Do not set version at target property just yet
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Dec 7, 2023
1 parent 2e4a978 commit e1fb9b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions HDPS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ set_target_properties(${MV_PUBLIC_LIB} PROPERTIES PROJECT_LABEL "MV_Public")
# Set the library output name different to the target name
set_target_properties(${MV_PUBLIC_LIB} PROPERTIES OUTPUT_NAME "MV_Public")

set_target_properties(${MV_PUBLIC_LIB} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

target_include_directories(${MV_PUBLIC_LIB} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)

target_compile_features(${MV_PUBLIC_LIB} PRIVATE cxx_std_17)
Expand Down Expand Up @@ -226,8 +224,6 @@ add_executable(${MV_EXE} MACOSX_BUNDLE WIN32

set_target_properties(${MV_EXE} PROPERTIES OUTPUT_NAME ${MV_APPLICATION_NAME})

set_target_properties(${MV_EXE} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

target_compile_features(${MV_EXE} PRIVATE cxx_std_17)

# find libraries relative to the executable in the macOS .app tree
Expand Down

0 comments on commit e1fb9b8

Please sign in to comment.