Hi Jack, Thanks to your question I have spotted the fact that the variable is not in fact called
VRN_DEPLOYMENT_MODE as I was told by the developer, but is actually called VRN_DEPLOYMENT. If I use the correct name in configopts, it is picked up properly by CMake. Cheers, Loris Jack Perdue <[email protected]> writes: > 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 >> > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]

