Yes, that works.
It just seemed a little funky that CMake would generate names based on a
predefined capitalization (i.e. CXX, Fortran, C etc), then check using the
capitalization in the parameter(I texted cxx as well). I figured I would
bring this to the mailing list attention, maybe save some h
Did you try ENABLE_LANGUAGE(Fortran)?
As far as I know, all CMake references to Fortran only have the first letter
uppercase. By having the entire name uppercase, CMake may think it is a new
language and thus need to look for FORTRAN compilers and linkers.
Lucas
__
Hello,
I am working on converting an older project to CMake. Right now, I am
getting all the variables and flags in order from the Makefiles to make sure
that CMake will work for our project. And I ran across something that maybe
a bug.
I am using fortran in this project, so I wanted to enable t
Lets say you download a swanky open source project off the web and hook it
into your project using he superbuild and externalproject_add. You write
some code that uses said OSS project and you get the error in visual studio
2012.
Error52error LNK2038: mismatch detected for 'RuntimeLibrary
Hi all,
Our CMakeLists.txt contains with the following command:
export(TARGETS ${OpenCVModules_TARGETS} FILE
"${CMAKE_BINARY_DIR}/OpenCVModules.cmake")
For release configuration it generates Relase imports
set_property(TARGET opencv_legacy APPEND PROPERTY IMPORTED_CONFIGURATIONS
RELEASE)
set_
On Fri, Jan 17, 2014 at 11:25 AM, Dominik Bernhardt
wrote:
> I'm using the latest master branch on Windows and I have the impression that
> whatever I set for policies, the setting is ignored in the generate step.
Some policies aren't enforced until generate time. Typically their settings
are r
I'm using the latest master branch on Windows and I have the
impression that whatever I set for policies, the setting is ignored in
the generate step.
Everything works fine for policies influencing the configure step.
However in the generate step I get warnings about undefined policies
al
Hi,
I'm trying to apply the "/MP[n]" switch for setting the number of cores to
be used in a compilation, but if I add "/MP4" for example in my
${CMAKE_CXX_FLAGS_RELEASE}, cmake converts it to "/MP" that means "all
cores available". What am I doing wrong? Can anyone reproduce this
behaviour?
Teste