Commit a43b2d27 authored by Michael Turner's avatar Michael Turner

cmake fix

parent d89dbd83
......@@ -20,7 +20,7 @@ IF (THIRDPARTY_BUILD_TETGEN)
tetgen-1.5
PREFIX ${TPSRC}
URL http://ae-nektar.ae.ic.ac.uk/~mt4313/tetgen.zip
URL_MD5 09218b66cdc256ffd2b3c54fc5a19e16
URL_MD5 d12cc04baa977380c893364bb09857ee
STAMP_DIR ${TPBUILD}/stamp
DOWNLOAD_DIR ${TPSRC}
SOURCE_DIR ${TPSRC}/tetgen-1.5
......@@ -34,7 +34,7 @@ IF (THIRDPARTY_BUILD_TETGEN)
-DCMAKE_INSTALL_PREFIX:PATH=${TPDIST}
${TPSRC}/tetgen-1.5
)
SET(TETGEN_LIBRARY triangle CACHE FILEPATH
SET(TETGEN_LIBRARY tetgen CACHE FILEPATH
"TetGen library" FORCE)
SET(TETGEN_INCLUDE_DIR ${TPDIST}/include CACHE FILEPATH
"TetGen include" FORCE)
......
......@@ -26,6 +26,7 @@ ADD_NEKTAR_LIBRARY(MeshUtils lib ${NEKTAR_LIBRARY_TYPE}
${MESHUTILS_SOURCES} ${MESHUTILS_HEADERS})
TARGET_LINK_LIBRARIES(MeshUtils LINK_PUBLIC LibUtilities)
TARGET_LINK_LIBRARIES(MeshUtils LINK_PRIVATE ${TRIANGLE_LIBRARY})
TARGET_LINK_LIBRARIES(MeshUtils LINK_PRIVATE ${TETGEN_LIBRARY})
INSTALL(DIRECTORY ./
DESTINATION ${NEKTAR_INCLUDE_DIR}/MeshUtils
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment