Skip to content
Snippets Groups Projects
Commit ed6b11ea authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

Nektar++Config cleanup. This depreceates NektarCommon for external projects.

Instead, the cmake default way of handling external dependencies is now
recommended:

  FIND_PACKAGE(Nektar++ REQUIRED)
  ADD_DEFINITIONS(${NEKTAR++_DEFINITIONS})
  INCLUDE_DIRECTORIES(${NEKTAR++_INCLUDE_DIRS} ${NEKTAR++_TP_INCLUDE_DIRS})
  LINK_DIRECTORIES(${NEKTAR++_LIBRARY_DIRS} ${NEKTAR++_TP_LIBRARY_DIRS})
  TARGET_LINK_LIBRARIES(${ProjectName} ${NEKTAR++_LIBRARIES} ${NEKTAR++_TP_LIBRARIES})

see templates/executable for an example. The NEKTAR++_TP_XXX variables can be omitted if
the external CMakeLists.txt takes care of findig Nektar++ dependencies itself.
parent d10e6fdc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment