Skip to content

Commit

Permalink
Remove forcing of gt_higher_moments to be linked as a shared library
Browse files Browse the repository at this point in the history
This can cause linking errors if GenTen was not built as a shared library.  Users should configure with BUILD_SHARED_LIBS=ON if they want shared libraries.
  • Loading branch information
etphipp authored Jul 4, 2024
1 parent 6e7a512 commit 1d15fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joint_moments/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set(joint_moment_headers Genten_HigherMoments.hpp)

ADD_LIBRARY (
gt_higher_moments SHARED
gt_higher_moments
${Genten_SOURCE_DIR}/joint_moments/Genten_HigherMoments.cpp
${Genten_SOURCE_DIR}/joint_moments/Genten_ComputePrincipalKurtosisVectors.cpp
)
Expand Down

0 comments on commit 1d15fe0

Please sign in to comment.