summaryrefslogtreecommitdiff
path: root/science/kalzium/files/patch-compoundviewer_CMakeLists.txt
blob: 3d724429669bd8ac5e2f16eaccfc6d2d20cc4b98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- fix linking with avogadrolibs: it fails w/out the lib specification
- cmake's link_directories doesn't work for some reason

--- compoundviewer/CMakeLists.txt.orig	2023-11-30 16:56:21 UTC
+++ compoundviewer/CMakeLists.txt
@@ -30,6 +30,7 @@ target_link_libraries(compoundviewer
     AvogadroQtOpenGL
     AvogadroQtPlugins
     Eigen3::Eigen
+    -L${CMAKE_INSTALL_PREFIX}/lib
 )
 
 target_include_directories(compoundviewer PRIVATE