The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15663 ====================================================================== Reported By: Laurent Demailly Assigned To: ====================================================================== Project: CMake Issue ID: 15663 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-07-23 13:50 PDT Last Modified: 2015-07-23 13:50 PDT ====================================================================== Summary: externalproject cause make -j build failure the first time Description: the first time someone builds a cmake generated makefile, using -j yields a broken build because somehow the download of the external projects isn't complete
the dependencies should be set correctly such as make waits for that target to complete ? https://github.com/facebook/wdt/issues/12 Steps to Reproduce: git clone https://github.com/facebook/wdt.git mkdir build; cd build cmake ../wdt -G "Unix Makefiles" -DBUILD_TESTING=on make -j this isn't mac specific - same issue with Ubuntu - could be a bug in our cmakelist.txt https://github.com/facebook/wdt/blob/master/CMakeLists.txt#L212 is where we add gmock ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-07-23 13:50 Laurent DemaillyNew Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers