Closed stashlukj closed 4 years ago
In my CMakeLists.txt
include( ExternalProject) ExternalProject_Add( rotor GIT_REPOSITORY https://github.com/basiliscos/cpp-rotor.git GIT_TAG master PREFIX rotor CMAKE_ARGS -DBUILD_BOOST_ASIO=on CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/rotor )
$ cmake --build build [ 10%] Performing update step for 'rotor' From https://github.com/basiliscos/cpp-rotor 7b23b99..925ade4 local-connect -> origin/local-connect Current branch master is up to date. Already up to date! [ 20%] Performing configure step for 'rotor' loading initial cache file /mnt/c/software/gitlab/raftlib/build/rotor/tmp/rotor-cache-Debug.cmake -- Boost found. -- Found Boost components: date_time;system;regex -- Configuring done -- Generating done -- Build files have been written to: /mnt/c/software/gitlab/raftlib/build/rotor/src/rotor-build [ 30%] Performing build step for 'rotor' Scanning dependencies of target rotor [ 9%] Building CXX object CMakeFiles/rotor.dir/src/rotor/actor_base.cpp.o [ 18%] Building CXX object CMakeFiles/rotor.dir/src/rotor/address_mapping.cpp.o [ 27%] Building CXX object CMakeFiles/rotor.dir/src/rotor/behavior.cpp.o [ 36%] Building CXX object CMakeFiles/rotor.dir/src/rotor/error_code.cpp.o [ 45%] Building CXX object CMakeFiles/rotor.dir/src/rotor/message.cpp.o [ 54%] Building CXX object CMakeFiles/rotor.dir/src/rotor/subscription.cpp.o [ 63%] Building CXX object CMakeFiles/rotor.dir/src/rotor/supervisor.cpp.o [ 72%] Building CXX object CMakeFiles/rotor.dir/src/rotor/system_context.cpp.o [ 81%] Linking CXX static library librotor.a [ 81%] Built target rotor Scanning dependencies of target rotor_asio [ 90%] Building CXX object CMakeFiles/rotor_asio.dir/src/rotor/asio/supervisor_asio.cpp.o [100%] Linking CXX static library librotor_asio.a [100%] Built target rotor_asio [ 40%] Performing install step for 'rotor' make[3]: *** No rule to make target 'install'. Stop. CMakeFiles/rotor.dir/build.make:73: recipe for target 'rotor/src/rotor-stamp/rotor-install' failed make[2]: *** [rotor/src/rotor-stamp/rotor-install] Error 2 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/rotor.dir/all' failed make[1]: *** [CMakeFiles/rotor.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
I'll look in the problem after releasing a new version. Meanwhile, patches are welcome :)
Should be fixed with v0.07
v0.07
In my CMakeLists.txt