Skip to content

Commit

Permalink
fix more cmake build issues: for lumass gui and terminal app
Browse files Browse the repository at this point in the history
- all: add ${lumass_BINARY_DIR}/bmi to include dirs for "lumasspythonbmi_export.h"
- gui: add NMOTBSupplCore to LUMASS_LINK_LIBS

gui/CMakeLists.txt
terminalapp/CMakeLists.txt
  • Loading branch information
heralex committed Feb 20, 2024
1 parent 209ade0 commit 37a0b3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ INCLUDE_DIRECTORIES(
${bmi_SOURCE_DIR}
${bmi_BINARY_DIR}
${lumass_SOURCE_DIR}/bmi
${lumass_BINARY_DIR}/bmi
${YAML_CPP_INCLUDE_DIR}
${MPI_CXX_INCLUDE_DIRS}
)
Expand Down Expand Up @@ -216,7 +217,9 @@ set(LUMASS_LINKLIBS
curl xml2
${MPI_CXX_LIBRARIES}
${HDF5_hdf5_LIBRARY_RELEASE} ${HDF5_hdf5_hl_LIBRARY_RELEASE}
NMModFrameCore ${MFW_WRAPPER_NAMES}
NMOTBSupplCore
NMModFrameCore
${MFW_WRAPPER_NAMES}
${LUMASS_GUI_VTK_LIBRARIES}
${PostgreSQL_LIBRARIES} ${LPSOLVE_LIBRARY}
${OPENGL_glu_LIBRARY} ${OPENGL_gl_LIBRARY}
Expand Down
3 changes: 2 additions & 1 deletion terminalapp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ INCLUDE_DIRECTORIES(
${NMVtk_SOURCE_DIR}
${gui_SOURCE_DIR}
${bmi_SOURCE_DIR}
${lumass_SOURCE_DIR}
${lumass_SOURCE_DIR}/bmi
${shared_SOURCE_DIR}
${lumass_BINARY_DIR}
${lumass_SOURCE_DIR}
${lumass_BINARY_DIR}/bmi
${GDALRATImageIO_SOURCE_DIR}
${GDALRATImageIO_BINARY_DIR}
${OTBSupplCore_SOURCE_DIR}
Expand Down

0 comments on commit 37a0b3c

Please sign in to comment.