yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09821
Re: [Question #251458]: TetGen and third party libraries
Question #251458 on Yade changed:
https://answers.launchpad.net/yade/+question/251458
Status: Answered => Open
Hicham BENNIOU is still having a problem:
Then I guess I skipped a step ?
Here's exactly what I've done :
- Compiling TetGen : Done (I checked for /usr/lib/libtet.a and
usr/include/tetgen.h)
- Adding FindTetGen.cmake to /trunk/cMake : Done
Here's what's inside the file :
FIND_LIBRARY(TETGEN_LIBRARY NAMES libtet PATH /usr/lib)
FIND_PATH(TETGEN_INCLUDE_DIR NAMES tetgen.h PATHS ${TETGEN_INCLUDE_DIR_SEARCH})
INCLUDE_DIRECTORIES(${TETGEN_INCLUDE_DIR})
LINK_LIBRARIES(${TETGEN_LIBRARY})
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TETGEN DEFAULT_MSG
TETGEN_INCLUDE_DIR TETGEN_LIBRARY)
- Adding the line "INCLUDE(FindTetGen)" to CMakelists.txt : Done
-Compiling YADE : compiles and runs fine
thanks
Hicham
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.