Selon "Nathaniel Waisbrot (Cont ARL/CISD)" <[email protected]>:
> Try moving the ENABLE_TESTING() call to the top-level CMakeLists.txt, > before any calls to add_subdirectory(). Add_test() can stay where it > is. Thanks it works perfectly. But the behavior of ENABLE_TESTING() is disturbing. I think it will be great if this issue was present in the documentation (i.e. cmake --help ENABLE_TESTING). Thanks for all. _______________________________________________ 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
