[CMake] Trouble with non standard Qt installation.

2010-11-29 Thread tibur
Hello. Our team uses the same Windows (VS) Qt build, but all the developers don't store it at the same place on their hard drive. So qmake.exe doesn't contain the good include, library, ... directories. On the FindQt4.cmake script of version 2.8.2 (line 770), the find_library call was using

[CMake] Trouble with set_test_properties

2010-11-26 Thread tibur
Hello. I have some trouble with set_test_properties function. Let's say I want to add something to the environment (DLL path for instance). I use the following code in my CMakeLists.txt: set_tests_properties(Prog PROPERTIES ENVIRONMENT "CONFIG=${CTEST_CONFIGURATION_TYPE}") When processed by