1find_path(MESHSIM_INCLUDE_DIRS MeshSim.h HINTS "${MESHSIM_LIBRARY_DIR}/../../include" /usr/local/meshSim/latest /net/common/meshSim/latest) 2find_path(MESHSIM_LIBRARY_DIR libSimMeshing.a HINTS /usr/local/meshSim/latest /net/common/meshSim/latest) 3find_library(MESHSIM_LIBRARY libSimMeshing.a HINTS ${MESHSIM_LIBRARY_DIR} /usr/local/meshSim/latest /net/common/meshSim/latest) 4find_library(PARASOLID_LIBRARY libpskernel.a HINTS ${MESHSIM_LIBRARY_DIR}/psKrnl /usr/local/meshSim/latest /net/common/meshSim/latest) 5 6mark_as_advanced(PARASOLID_LIBRARY) 7mark_as_advanced(MESHSIM_LIBRARY) 8 9set(MESHSIM_LIBRARIES ${MESHSIM_LIBRARY}) #TODO: get the others too 10