File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,11 @@ Now the installation can proceed.
79
79
``` bash
80
80
mkdir build
81
81
cd build
82
+ export EIGEN3_INCLUDE_DIR=$CONDA_PREFIX /include/eigen3
82
83
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=YES -DCMAKE_INSTALL_PREFIX:PATH=$CONDA_PREFIX ../
83
84
make -j$( nproc)
84
85
make install
85
- $CONDA_PREFIX /bin/yodaStruct -c lua_inputs/config.yml
86
+ LD_LIBRARY_PATH= $LD_LIBRARY_PATH : $CONDA_PREFIX /lib $CONDA_PREFIX /bin/yodaStruct -c lua_inputs/config.yml
86
87
```
87
88
88
89
We have opted to install into the ` conda ` environment, if this is not the
Original file line number Diff line number Diff line change @@ -43,8 +43,9 @@ add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)
43
43
find_package (
44
44
"Lua" REQUIRED
45
45
"Boost" REQUIRED COMPONENTS system filesystem
46
- "yaml-cpp"
47
- "fmt" )
46
+ "yaml-cpp" )
47
+
48
+ find_package (fmt REQUIRED )
48
49
49
50
link_directories (${Boost_LIBRARY_DIRS} )
50
51
# Link everything
@@ -53,7 +54,7 @@ target_link_libraries(
53
54
${Boost_LIBRARIES}
54
55
Eigen3::Eigen
55
56
${LUA_LIBRARIES}
56
- fmt
57
+ fmt::fmt
57
58
yaml-cpp
58
59
yodaLib
59
60
)
You can’t perform that action at this time.
0 commit comments