From 1d15fe057d654acd7215278188bed836f43e0e43 Mon Sep 17 00:00:00 2001 From: Eric Phipps Date: Wed, 3 Jul 2024 18:30:27 -0600 Subject: [PATCH] Remove forcing of gt_higher_moments to be linked as a shared library 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. --- joint_moments/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joint_moments/CMakeLists.txt b/joint_moments/CMakeLists.txt index d5f468e876..e3e05ebf53 100644 --- a/joint_moments/CMakeLists.txt +++ b/joint_moments/CMakeLists.txt @@ -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 )