Am 22.04.2013 14:26, schrieb Petr Kmoch:
Hi all.

I'm using CMake 2.8.10.2 to do a Visual Studio 2010 64-bit build, and I encountered a weird problem with the CMake configure step failing, with the
following output:

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37
(get_filename_component):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:2 (PROJECT)

CMAKE_CXX_COMPILER is empty at that point.

I managed to pinpoint this to an issue with try_compile in FindQt4. I am
attaching a minimal test case as well as output of cmake --trace. The
CMakeList is just this:

I don't see a try_compile in FindQt4.

Eike

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to