(oops.... forgot to reply to list)

-------- Forwarded Message --------
Subject:        Re: [easybuild] Specifying extra CMake variables
Date:   Fri, 24 Jan 2020 06:08:08 -0600
From:   Jack Perdue <[email protected]>
To:     Loris Bennett <[email protected]>



Howdy Loris,

You can generally ignore those warnings.

EB will define the Fortran flags by default so
are safely ignored in a non-Fortran program.

As to VRN_DEPLOYMENT_MODE, is the the variable
defined in CmakeLists.txt or one of the cmake directories?
It would seem that VRN_ADD_INSTALL_TARGET was recoginized
but the other VRN_ setting wasn't.

Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected] http://hprc.tamu.edu
HPRC Helpdesk: [email protected]

On 1/24/20 4:14 AM, Loris Bennett wrote:
Hi,

In my EC I have

    configopts = '-DVRN_DEPLOYMENT_MODE=ON -DVRN_ADD_INSTALL_TARGET=ON 
-DCMAKE_INSTALL_PREFIX=%(installdir)s '

However, In the log file I get

    CMake Warning:
      Manually-specified variables were not used by the project:

        CMAKE_Fortran_COMPILER
        CMAKE_Fortran_FLAGS
        VRN_DEPLOYMENT_MODE

What's the correct way to pass extra variables to CMake?

Cheers,

Loris


Reply via email to