Can you create a small, self-contained example that reproduces the problem?
A bit more than trivial since imported targets are involved, but give it a
go, it will help narrow down the problem. If you're able to do that, please
then report this in the issue tracker and attach that example. Also incl
Thanks Robert, I presumed something like that was happening under the hood, but
I'm trying to ask a slightly different couple questions.
Suppose I set CMAKE_CXX_STANDARD=11 and CMAKE_CXX_STANDARD_REQUIRED=TRUE and
configure a C++ project with at least one C++ target. Is there any variable or
o
On Wednesday, November 8, 2017, Shoaib Meenai wrote:
> Running cmake from an x64 developer command prompt and passing
> -Thost=x64 to cmake should do the trick.
Thanks for the response!
I'm not sure what you mean by "an x64 developer command": my builds are
invoked in an automated way from a CI
Thanks - that was it! Now CMake is happy - just a question of
seconds...
Regarcs, Cornelis
Am Donnerstag, den 09.11.2017, 09:30 + schrieb CHEVRIER, Marc:
>
>
> > The problem is on NAMES argument. You have to specify library names
without prefix. So
> Clp must be used rather than libClp.
> F
For that purpose, set the environment variable PreferredToolArchitecture with
value x64.
On 08/11/2017 23:26, "CMake on behalf of Paul Smith" wrote:
Hi all. I wonder if someone can help me get CMake to force Visual
Studio to run the 64bit linker instead of the 32bit linker. By that I
The problem is on NAMES argument. You have to specify library names without
prefix. So Clp must be used rather than libClp.
FIND_LIBRARY(CLP_LIBRARY NAMES Clp PATHS ${CLP_LIB} NO_DEFAULT_PATH)
From: CMake on behalf of "corne...@bockemuehl.ch"
Date: Thursday 9 November 2017 at 00:0
-T host=x64 is your answer
(-G chooses platform/generated code; -T host= chooses platform of the
toolset itself).
Alternatively to -T you can set ENV variable PreferredToolArchitecture=x64
See:
https://stackoverflow.com/questions/19820718/how-to-make-visual-studio-use-the-native-amd64-toolchain
I think you should either use the full file name, e.g. libClp.so or just use
Clp.
See https://cmake.org/cmake/help/latest/command/find_library.html
Regards,
Dvir
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of corne...@bockemuehl.ch
Sent: Thursday, November 9, 2017 01:03
To: cmake@cmak