Skip to content

Commit

Permalink
fix: soname version behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Mar 17, 2024
1 parent b119b39 commit 1f14e66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ list(APPEND CMAKE_PREFIX_PATH ${VIENNAPS_LOOKUP_DIRS})
# link against the vtk-python libs
# --------------------------------------------------------------------------------------------------------

set(CMAKE_PLATFORM_NO_VERSIONED_SONAME ${VIENNAPS_BUILD_PYTHON})
if (VIENNAPS_BUILD_PYTHON)
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME ON)
endif()

if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -openmp:llvm /bigobj")
Expand Down Expand Up @@ -88,7 +90,7 @@ CPMFindPackage(

CPMFindPackage(
NAME ViennaLS
GIT_TAG f3302b5 # TODO: Create new tag and use VERSION
GIT_TAG a5d3a63 # TODO: Create new tag and use VERSION
GIT_REPOSITORY "https://github.com/ViennaTools/ViennaLS"
EXCLUDE_FROM_ALL ${VIENNAPS_BUILD_PYTHON})

Expand Down

0 comments on commit 1f14e66

Please sign in to comment.