← Back to team overview

dolfin team mailing list archive

Re: [Question #134012]: How to Link in an Object File in Cmake

 

Question #134012 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/134012

    Status: Open => Answered

Johannes Ring proposed the following answer:
I'm a little surprised that it didn't work to add the object file to the
list of sources in the add_executable command. Have you tried to add it
to CMAKE_CMAKE_EXE_LINKER_FLAGS or similar? Here is an answer to a
similar question on the CMake mailing list:

http://www.cmake.org/pipermail/cmake/2008-November/025541.html

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.