CMAKE and -fopenmp Help

Discussion in 'C' started by nesalang, Jun 26, 2008.

  1. nesalang

    nesalang New Member

    Joined:
    Jun 26, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I am trying to run this cmake file on my system which has ubuntu 7.10 installed and has a dualcore. One complication is that I need to include -fopenmp flag to avoid the errorslike "undefined references to the OPENMP_THEREAD_START".
    If it were a makefile I would simiply add the flag at the gcc command, it's a cmake with which I am not very familiar.

    How can I add -fopenmp flag in cmaket?
    Thanks in advance.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice